Xcode 8 build crash on iOS 9.2 and below

See the accepted answer https://forums.developer.apple.com/thread/60919 You can save 16-bit assets as 8-bit ones with Preview.app How to resolve “ERROR ITMS-90682: Invalid Bundle – The asset catalog at ‘Payload/XXXXX/Assets.car’ can’t contain 16-bit or P3 assets if the app supports iOS 8 or earlier.” With Xcode 8 GM, this error will occur if you include 16-bit or … Read more

iOS7 UISwitch its Event ValueChanged: Calling continuously is this Bug or what..?

Please see the following code: -(void)viewDidLoad { [super viewDidLoad]; UISwitch *mySwitch = [[UISwitch alloc] initWithFrame:CGRectMake(130, 235, 0, 0)]; [mySwitch addTarget:self action:@selector(changeSwitch:) forControlEvents:UIControlEventValueChanged]; [self.view addSubview:mySwitch]; } – (void)changeSwitch:(id)sender{ if([sender isOn]){ NSLog(@”Switch is ON”); } else{ NSLog(@”Switch is OFF”); } }