我怎样才能从一个UIView过渡到其他的,比如从左到右的幻灯片?
发布于 2011-03-14 17:26:32
除PageControl外,请参阅ScrollViewSuite、Scrolling和PhotoScroller。阅读UIScrollView的开发人员文档,您就不必问这个问题了。
发布于 2011-06-17 17:09:08
写一些像这样的东西。
[UIView beginAnimations:@"" context:NULL];
//The new position for view1
[myview1 setFrame: CGRectMake(0,0,320,100)];
//The new position for view2
[myview2 setFrame: CGRectMake(320, 0, 320, 100)];
//The animation duration
[UIView setAnimationDuration:2.0];
[UIView setAnimationDelay: UIViewAnimationCurveEaseIn];
[UIView commitAnimations];https://stackoverflow.com/questions/5225112
复制相似问题