摘要:
MVVM ——ApplicationSupport AppDelegate类Request 数据请求类Config 配置文件CustomModel / DataModel 自定义模型类 (用户model , 消息model , ViewModel的父类 )Res... 阅读全文
摘要:
UIApplication *app = [UIApplication sharedApplication]; NSURL *url = [NSURL URLWithString:@"Trip://com.trip.tripmobile"]; if ([app canOp... 阅读全文
摘要:
1、大部分社交平台接口不支持https协议。问题描述:在iOS9下,系统默认会拦截对http协议接口的访问,因此无法获取http协议接口的数据。对ShareSDK来说,具体表现可能是,无法授权、分享、获取用户信息等。解决:(1)、暂时退回到http协议。具体方法:在项目的info.plist中添加一... 阅读全文
摘要:
CircleLayouthttps://developer.apple.com/library/ios/samplecode/CircleLayout/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012315//1.[self.collectio... 阅读全文
摘要:
MapSearchhttps://developer.apple.com/library/ios/samplecode/MapSearch/Introduction/Intro.html#//apple_ref/doc/uid/DTS40013332//1.#import //引入头文件#impo... 阅读全文
摘要:
The Elementshttps://developer.apple.com/library/ios/samplecode/TheElements/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007419UINavigationControll... 阅读全文
摘要:
读取通讯录权限网上都有,不再叙述.当第一次授权时用户假如拒绝授权, 第二次就无法再次弹出提示框授权.刚开始时完全按照网上例子写的,第一次拒绝授权后,在设置里面无法找到对应的更改读取权限的选项. 后来查看了微信和QQ的发现应该是在Info.plist 文件中添加 Privacy - Contacts ... 阅读全文
摘要:
tableView使用UIViewAnimationWithBlocks 时 上面的cell也会一起出现动画, 所以在设置cell的时候 添加[UIView performWithoutAnimation:^{cell 设置 , 初始化}]; 阅读全文
摘要:
UIWindow * window = [[UIApplication sharedApplication].windows lastObject];隐藏[window setWindowLevel:UIWindowLevelStatusBar];显示[windowsetWindowLevel:UI... 阅读全文
摘要:
UIActivityViewController 自定义选项 重写UIActivity 类建议下载github上源码学习一下https://github.com/samvermette/SVWebViewController在这里主要是记录一下我使用UIActivityViewController ... 阅读全文