Tag: xcode6.3.1

核心位置委托方法没有在iOS 8.3 Xcode 6.3.1中调用

我试图在Xcode 6.3.1中使用Core Location Framework获取用户的当前位置,我做了以下事情: 目标 – > 常规 – > 链接框架和库下添加核心位置框架 我的ViewController.h文件如下所示, #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> @interface ViewController : UIViewController<CLLocationManagerDelegate> @property (weak, nonatomic) IBOutlet UILabel *lblLatitude; @property (weak, nonatomic) IBOutlet UILabel *lblLongitude; @property (weak, nonatomic) IBOutlet UILabel *lblAddress; @property (strong, nonatomic) CLLocationManager *locationManager; @end 我的ViewController.m文件如下所示, – (void)viewDidLoad { [super viewDidLoad]; self.locationManager = [[CLLocationManager alloc] init]; […]

iOS 8.4设备的开发者磁盘映像无法安装错误 – 不符合条件的设备部分

我已经尝试过,但不能解决我的问题 – 不合格的设备部分。 我得到一个错误开发商的磁盘映像无法安装iOS 8.4设备的错误 任何人都可以请帮助我如何使用Xcode 6.3.1运行iOS 8.4版本的设备 或更新Xcode版本只是解决scheme 谢谢大家

属性'self。*'没有在super.init调用中初始化

我只是更新我的xcode到6.3.1。 问题是我得到这个奇怪的错误信息,因为迅速1.2。 我得到了这种错误信息 /Users/MNurdin/Documents/iOS/xxxxx/Library/SideBar.swift:32:15: Property 'self.originView' not initialized at super.init call /Users/MNurdin/Documents/iOS/xxxxx/Library/SideBar.swift:38:20: Immutable value 'self.originView' may only be initialized once 在这个代码上 let originView:UIView? override init() { super.init() //error here } init(sourceView:UIView, menuItems:Array<String>){ super.init() //error here originView = sourceView //error here 请指教。 谢谢。