08 2016 档案

摘要: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 阅读(4596) 评论(0) 推荐(0)
摘要:MPMoviePlayerController* moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:ddi.videoFileUrl]; [[NSNotificationCenter defaultCenter] ad 阅读全文
posted @ 2016-08-16 17:22 YuFly 阅读(245) 评论(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 阅读(749) 评论(0) 推荐(0)
摘要:在iOS8之前,UIActionSheet用的代理方法为 - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex 在iOS8之后这种代理方法无法调用相册相机等,并且警告- 阅读全文
posted @ 2016-08-03 10:02 YuFly 阅读(141) 评论(0) 推荐(0)