CGRect frame = itemListView.frame;
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:.75];
// Slide up based on y axis
// A better solution over a hard-coded value would be to
// determine the size of the title and msg labels and
// set this value accordingly
frame.origin.y = 390;
itemListView.frame = frame;
[UIView commitAnimations];
iphone animation
最新推荐文章于 2024-07-23 16:20:57 发布