2016年4月1日
摘要: #pragma mark 弹出view -(void)exChangeOut:(UIView *)changeOutView dur:(CFTimeInterval)dur { CAKeyframeAnimation * animation; animation = [CAKeyframeAnima 阅读全文
posted @ 2016-04-01 16:44 许广 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 在当前活跃的window 添加一个view [[[[[UIApplication sharedApplication] keyWindow] rootViewController] view] addSubview:myview]; 阅读全文
posted @ 2016-04-01 16:43 许广 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1、presentViewController - (void)presentViewController:(UIViewController *)viewControllerToPresent animated: (BOOL)flag completion:(void (^ __nullable) 阅读全文
posted @ 2016-04-01 16:38 许广 阅读(479) 评论(0) 推荐(0) 编辑
摘要: ios 开发过程中在不通过import 调用其他类的方法 //获取类名 Class controller = NSClassFromString(@"controller"); //不允许为空 if (controller) { //是否实现了该方法 if ([[controller alloc] 阅读全文
posted @ 2016-04-01 16:31 许广 阅读(429) 评论(0) 推荐(0) 编辑