我正在努力UIView
。此视图在按钮单击时展开和折叠。它适用于iOS<=5但不适用于 iOS6。您能否更正我的代码或解释一下。
谢谢。
我的代码:
CGFloat x= 60,y = 391,w1=210,h1=48;
[ViewShare setHidden:YES];
[UIView beginAnimations:@"animationOff" context:NULL];
[UIView setAnimationDuration:0.2f];
[ViewShare setFrame:CGRectMake(x, y, w1, h1)];
[UIView commitAnimations];
和参考页
谢谢..