Top "Ios10" questions

iOS 10 is the tenth version of Apple's iOS mobile operating system.

Why "add Push notification feature to your app id" warning even after push-notification showing enabled in App ID?

I am using Xcode8, swift 3, iOS 10 In Targets -> capabilities showing "add the Push notification feature to your app …

ios xcode ios10
Since Xcode 8 and iOS10, views are not sized properly on viewDidLayoutSubviews

It seems that with Xcode 8, on viewDidLoad, all viewcontroller subviews have the same size of 1000x1000. Strange thing, but okay, …

ios autolayout ios10 xcode8
UIImage to NSData for Core Data in Swift 3.0

So previously, in Swift 2.2 I could use Entity.image = UIImagePNGRepresentation(UIImage(named: "Image Name")!) But now in Swift 3.0 it appears …

ios swift3 uiimage ios10 nsdata
Is there a writeToFile equivalent for Swift 3's 'Data' type?

I've some code which returns the new iOS 10 / Swift 3 NSData replacement(?) type: Data if let jpegData = UIImageJPEGRepresentation(newImage, 0.8) { ... } I want …

swift nsdata swift3 xcode8 ios10
How to use predicates with fetchRequest in Core Data

I pass a contact Identifier from Contacts tableview controller to another Location tableview controller. So I define a delegate ContactSelectionDelegate …

ios swift core-data ios10 nsfetchrequest
Error in iOS 10 : Unable to copy asset information from https://mesu.apple.com/assets/ for asset type

2016-10-05 13:36:21.383340 MyApp[1867:72704] 0x60000015e350 Copy matching assets reply: XPC_TYPE_DICTIONARY <dictionary: 0x60000015e350> { count = 1, transaction: 0, voucher = 0…

ios objective-c ios10 xcode8 uiimageasset
How to schedule a local notification in iOS 10 (objective-c)

I'd like to schedule local notifications using iOS 10. I'd like to know how to do this. I've looked all around …

objective-c ios10 usernotifications
UIUserNotificationSettings deprecated in iOS 10

I am looking for the alternate way of implementing UIUserNotificationSettings in iOS 10. Apple documentation has given the below framework for …

swift xcode apple-push-notifications ios10 xcode8
Perform Selector With Object in swift 3

I am trying to perform selector with object in swift 3.0 I have a selector which have one parameter func imageSelected(…

ios swift3 selector ios10
Creating an image format with an unknown type is an error Objective-C Xcode 8

While choosing an image from the image picker in iOS 10 Objective-C and Xcode 8. I am getting an error - Creating …

ios objective-c uiimagepickercontroller xcode8 ios10