20

项目开发解决方案及参考文献

 5 years ago
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、统计整个工程的代码行

小技巧5-iOS 统计Xcode整个工程的代码行数

2、蘑菇街路由

MGJRouter的简单实用

3、UIButton图文混排

UIButton的图文混排

4、iOS自定义瀑布流布局

IOS实现自定义布局瀑布流

5、上架流程

iOS App打包上架超详细流程(手把手图文教你)

6、地图定位

iOS:高德地图的使用

ios开发之 -- 调用系统定位获取当前经纬度与地理信息

7、自定义TabBarController

CYLTabBarController的使用

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>

nEVr22J.png!web

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

iQNFN3N.png!web

14、xcode修改工程名

xcode修改工程名

15、商品属性选择功能

iOS商品详情页面,商品属性选择功能(SKU)

16、html页面加载优化

html页面加载优化

17、UI绘制工具

QMUI IOS

18、前端webview与原生交互

前端 WebView 指南之 iOS 交互篇

19、欢迎指南界面库

DWIntrosPage

20、自动混淆

iOS自动代码混淆专家

21、很多干货

全部干货

22、腾讯云IM接入案例

腾讯云IM接入案例

23、横竖屏切换

横竖屏切换

24、下拉筛选菜单

MMComBoBox

25、导航栏

iOS系统中导航栏的转场解决方案与最佳实践


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK