工程配置

Info.plist中
网络连接:
添加 NSAppTransportSecurity类型Dictionary;
在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES。

设置地理信息:
NSLocationAlwaysUsageDescription [Dictionary]
您的描述 [string]
NSLocationWhenInUseUsageDescription[Dictionary]
您的描述 [string]

设置应用名:
Bundle display name

语言地区:
Localization native development region China
(不是多语言版本的话)
另外若是要做到多语言且按钮即可切换 参考:
http://www.jianshu.com/p/ad975fa478e5

3DTouch的shortCut功能(静态添加):
UIApplicationShortcutItems [Array]

数组中 Item 皆为字典选项,
必填项(下面两个键值是必须设置的):
UIApplicationShortcutItemType 设置一个快捷通道类型的字符串
UIApplicationShortcutItemTitle 设置标签的标题
选填项(下面这些键值不是必须设置的):
UIApplicationShortcutItemSubtitle 设置标签的副标题
UIApplicationShortcutItemIconType 设置标签Icon类型
UIApplicationShortcutItemIconFile 设置标签的Icon文件
UIApplicationShortcutItemUserInfo 设置信息字典(用于传值)

需要全局宏定义或头文件时利用pch文件:
1、新建pch文件
2、build settings 查找 prefix header
设置路径:$(SRCROOT)/项目名/PrefixHeader.pch

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值