View Full Version : iphone flip mode???
fredlee
Nov 5, 2008, 12:58 AM
does anyone know how can I flip a view from bottom in iphone?? could anyone hlep me?? thanks
jnic
Nov 5, 2008, 08:23 AM
The following sample code demonstrates various ways of transitioning between views: http://developer.apple.com/iphone/library/samplecode/ViewTransitions/index.html
fredlee
Nov 6, 2008, 12:59 AM
The following sample code demonstrates various ways of transitioning between views: http://developer.apple.com/iphone/library/samplecode/ViewTransitions/index.html
y, I have read the samples, but I want to flip the view, there is no this mode in this sample
jnic
Nov 6, 2008, 05:21 AM
Could you describe what you mean by "flip the view" then?
fredlee
Nov 6, 2008, 09:09 PM
Could you describe what you mean by "flip the view" then?
like this:UIViewAnimationTransitionFlipFromLeft. This can flip view from left.
I want flip view from bottom
jnic
Nov 7, 2008, 05:22 AM
For vertical flip you'll probably have to create your own transform. Docs here: http://developer.apple.com/documentation/GraphicsImaging/Reference/CGAffineTransform/Reference/reference.html
I think the MyPhoto code example contains the transformation matrix you want: http://developer.apple.com/samplecode/MyPhoto/
fredlee
Nov 10, 2008, 04:33 AM
For vertical flip you'll probably have to create your own transform. Docs here: http://developer.apple.com/documentation/GraphicsImaging/Reference/CGAffineTransform/Reference/reference.html
I think the MyPhoto code example contains the transformation matrix you want: http://developer.apple.com/samplecode/MyPhoto/
y, I know how to vertical flip, I want to know how to horizonal flip, could you help me?
jnic
Nov 11, 2008, 08:05 AM
If you'll take a moment to actually examine the links I've posted, you'll see that CGAffineTransform offers flips in any direction.
fredlee
Nov 11, 2008, 09:30 PM
If you'll take a moment to actually examine the links I've posted, you'll see that CGAffineTransform offers flips in any direction.
y, I have tried to flip use CGAffine, BUT it looks not very good. If there is no other way, I have to choose this method
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.