使用以下圖片,拼成滿版背景的方法
在APP內拼成花花的背景:
2013年7月22日
2013年7月10日
讓你的View動起來──新版本
在4.0之前,讓View動作的語法如下:
UIButton *button = [[UIButton alloc] init];
CGRect frame = button.frame;
frame.origin.x = 500; // new x coordinate
frame.origin.y = 500; // new y coordinate
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration: 0.25];
button.frame = frame;
button.alpha = 0;
[UIView commitAnimations];
訂閱:
文章 (Atom)