Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-23-2009, 10:02 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 53
Default Rotating UIImageViews

I am trying to rotate four UIImageViews around a single point (like a windmill). This has proved to be very difficult. I not only want the UIImageViews to move around in a circle (which I know how to do), but I want the UIImageView itself to rotate.

Ex:
UIImageView horizontal.
|---------

UIImageView Vertical
---
|
|
|


Is there a function for this? If not, how can this be achieved?
dylane94 is offline   Reply With Quote
Old 04-23-2009, 11:20 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 246
Default

i dont think there is a function for this, but there will be a way to implement it (in fact, there are probably plenty of way to do it...)

if it would me, i would do it like this...

create a point for each view that defines the center of each view...
each time an individual view need to move around the point, recalculate the the centre point

as you recalculate each point to make the view move in a circular motion, you will also rotate the individual view. if they have one after the other quickly, it will appear to happen simultaneously...

does that make sense?
gabacus is offline   Reply With Quote
Old 04-24-2009, 01:52 AM   #3 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 246
Default

you know, i was just thinking that you dont have to go to all the trouble i proposed above...

have one big view that rotates. the other views are smaller sub views... with will rotate as the main view rotates... then just rotate the sub views within the main view...

that makes sense to be because i know what i am trying to say... i fear you may have no idea of what i am trying to say... this is why i can never be a teacher...
gabacus is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,309
Threads: 89,033
Posts: 379,817
Top Poster: BrianSlick (7,086)
Welcome to our newest member, alapimba
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:59 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0