工程配置
2016-04-28 16:17
323 查看
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
网络连接:
添加 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
相关文章推荐
- Android Studio插件 - FindViewByMe
- 11.2.0.3.9 (Jan 2014) Database Patch Set Update (PSU)
- Jenkins新建项目
- window IIS6/IIS7取消脚本执行权限,禁止运行脚本木马
- DOS常用命令收集(长期更新)
- 源码学习:HashMap
- 关于new 和delete
- 单指手势,旋转,缩放
- [转] Initial Impressions on GraphQL & Relay
- 杨森翔诗词20首
- 设计模式-抽象工厂模式
- 浅析rem和em和px vh vw和% 移动端长度单位
- leetcode 10. Regular Expression Matching
- 值得推荐的C/C++框架和库(转)
- iOS开发网络篇—数据安全
- 使用jxl输出excel表格
- 快速排序
- 插入排序
- 树莓派B+上手小记--使用HDMI线连接显示器
- boost compile