I seem to have a lot of trouble with this method! A few months ago I had my own
custom drawRect: and that was messing it up, this time I just have a simple
UIView with some controls on it, nothing clever. One of the controls is given
by the property 'complexity'. What I want is for my UIView to rotate and show
up with/without that control. However whatever I have tried all that happens is
the control instantly disappears or reappears, no transition at all. Here's the
code ..
[ UIView transitionWithView:factorsView
duration:2.0f
options:(
UIViewAnimationTransitionFlipFromRight |
UIViewAnimationOptionAllowAnimatedContent )
animations:^{ [ [ factorsView
complexity] setHidden:![ [ factorsView complexity ] isHidden ] ]; }
completion:NULL
];
factorsView is the UIView subclass and it's displayed and it's on screen.
I've tried with and without the AllowAnimatedContent option. The factorsView
never rotates, it stays right where it is, and the complexity subview just
winks in and out of existence.
What do I continue not to understand about this method and what reasons are
there that I could be getting no actual transition? This is iPad 4.3 if it
matters but I suspect it does not.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]