使用 在 iOS 8 上编译会出现以下
Trying to start MapKit location updates without prompting for location authorization. Must call -[CLLocationManager requestWhenInUseAuthorization] or -[CLLocationManager requestAlwaysAuthorization] first.
经搜索得到解决方法如下:
新增key值为NSLocationWhenInUseUsageDescription 或 NSLocationAlwaysUsageDescription(这里,我将两个都加了进去),value可以为空,也可以设置YES,不过我得问题还是不能解决,最终还是找到得了问题所在,就是info.plist中还需要包含Supported interface orientations 这个Array字段
2. 模拟器的键盘弹不出
hardware->keyborad->connect keyborad
//不允许使用http
3.在Info.plist中添加App Transport Security Settings(或NSAppTransportSecurity), 类型Dictionary。在App Transport SecuritySettings下添加Allow Arbitrary Loads (或NSAllowsArbitraryLoads),类型Boolean,值设为YES.
从iOS9开始,Xcode7需要所有UIWindow在
self.
[