摘要: 1.FrameAccessor UI控件简化布局步骤 2.MBProgressHUD 加载提示框 3.AFNetworking 网络请求,适用ipv6。 4.VGParallaxHeader uitableview的headerview下拉 5.SDCycleScrollView 图片无限轮播控件 阅读全文
posted @ 2016-08-29 15:07 YuFly 阅读(174) 评论(0) 推荐(0)
摘要: failure:^(id error) { [self hideLoadingHUD]; if([error code] == NSURLErrorCancelled){ return ; } if([error isKindOfClass:[NSString class]]){ [self sho 阅读全文
posted @ 2016-08-24 17:30 YuFly 阅读(4594) 评论(0) 推荐(0)
摘要: MPMoviePlayerController* moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:ddi.videoFileUrl]; [[NSNotificationCenter defaultCenter] ad 阅读全文
posted @ 2016-08-16 17:22 YuFly 阅读(243) 评论(0) 推荐(0)
摘要: 异步线程 dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ dispatch_async(dispatch_get_main_queue(), ^{ }); }); 延迟 double d 阅读全文
posted @ 2016-08-03 12:04 YuFly 阅读(748) 评论(0) 推荐(0)
摘要: 在iOS8之前,UIActionSheet用的代理方法为 - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex 在iOS8之后这种代理方法无法调用相册相机等,并且警告- 阅读全文
posted @ 2016-08-03 10:02 YuFly 阅读(141) 评论(0) 推荐(0)
摘要: -(void)forceToOriention:(UIInterfaceOrientation)direction { if ([[UIDevice currentDevice] respondsToSelector:@selector(setOrientation:)]) { SEL select 阅读全文
posted @ 2016-06-24 16:08 YuFly 阅读(157) 评论(0) 推荐(0)
摘要: 1.通过苹果手机上的AppStore搜索已经上架的app,点击app可以在右上角看到一个分享转发似的按钮,点击按钮可以看到拷贝链接,通过这可以得到你app再AppStore上的下载链接,然后百度二维码生成器,楼楼这边用的是草料二维码生成器,进去之后可以选择网址生成二维码,然后可以用QQ,微信等扫一扫 阅读全文
posted @ 2016-01-20 15:53 YuFly 阅读(2162) 评论(0) 推荐(0)