20
项目开发解决方案及参考文献
source link: http://www.cocoachina.com/ios/20181106/25389.html?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1、统计整个工程的代码行
2、蘑菇街路由
3、UIButton图文混排
4、iOS自定义瀑布流布局
5、上架流程
6、地图定位
7、自定义TabBarController
8、酒店日历选择器
9、友盟分享因http链接不显示缩略图的问题
目前发现三种解决方案
1、把url图片转换成UIImage类型缓存下来交给缩略图属性
SLShareManage *me = [[SLShareManage alloc]init]; NSURL *imgUrl = [NSURL URLWithString:self.raceBasicModel.imageURL]; UIImage *imageHttps = [UIImage imageWithData: [NSData dataWithContentsOfURL:imgUrl]]; me.image = imageHttps;
2、配置友盟分享时关闭强制验证https
[UMSocialGlobal shareInstance].isUsingHttpsWhenShareContent = NO;
3、配置白名单,并且在info.plist文件中设置安全域名
<key> NSAppTransportSecurity </key> <dict> <key> NSAllowsArbitraryLoads </key> <true /> </dict>
10、友盟推送
11、BeeCloud支付流程
12、真机调试的问题
1、Your development team, "", does not support the Push Notifications capability.
最后解决方法如下: 找到工程文件中xxx.entitlements文件,在vim中打开 删除.entitlements文件中的 <key> aps-environment </key>,保存后重新运行,即可。
2、若配置了开发环境,提示如下错误:
Signing for "XXX" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'
解决方法:
targets --> general --> Signing --> Team (选择你们公司的Team )
3、iPhone is busy: Preparing debugger support for iPhone?
解决方法:
Xocde—>Window menu—>Device and Simulators—>Device—>Button at bottom left corner—>Next—>Done 或者退出xcode,重启手机.
13、xcode修改公司名称和作者
选择项目工程-》 TARGETS
-》 General
14、xcode修改工程名
15、商品属性选择功能
16、html页面加载优化
17、UI绘制工具
18、前端webview与原生交互
19、欢迎指南界面库
20、自动混淆
21、很多干货
22、腾讯云IM接入案例
23、横竖屏切换
24、下拉筛选菜单
25、导航栏
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK