iOS面试笔记、面试题.doc

页码: PAGE 38/ NUMPAGES 38 面试题笔记 注意事项:内存管理、多线程、核心动画、表重用,推送,数据持久化。 前程无忧、智联招聘。 1.编程题 写一个View 从屏幕顶端动画移动到底部 @interface TimingCurveViewController : UIViewController { IBOutlet UIImageView *basketBall; } - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { [UIView beginAnimations:@movement context:nil]; [UIView setAnimationCurve:UIViewAnimationCurveEaseIn]; //label id=code.timingcurve.easeIn/ [UIView setAnimationDuration:1.0f]; [UIView setAnimationRepeatCount:3]; [UIView setAnimationRepeatAutoreverses:YES]; CGPoint center = basketBall.center; if(center.y 85.0f) { c

文档评论(0)

1亿VIP精品文档

相关文档