1.xcode启用http访问,iOS9以上
在info.plist添加row
App Transport Security Settings
在该row中添加Allow Arbitrary Loads,并设置值为true
2.请求定位权限
在info.plist中添加两个row
Privacy - Location Always Usage Description
Privacy - Location When In Use Usage Description
1.xcode启用http访问,iOS9以上
在info.plist添加row
App Transport Security Settings
在该row中添加Allow Arbitrary Loads,并设置值为true
2.请求定位权限
在info.plist中添加两个row
Privacy - Location Always Usage Description
Privacy - Location When In Use Usage Description
本文标题:iOS开发常用操作
本文链接:https://www.haomeiwen.com/subject/vmxrxxtx.html
网友评论