ios10
Xcode 8 forces to ‘Choose an initial device view’
A way “come back to ambiguous sized” can be: Select all the Scenes(View Controllers) in the Storyboard, show the Size inspector, change the Simulated Size to Freeform, then set Width Height = 600. Then, those tons of warnings disappear.
cornerRadius stopped working in Swift 2.3 / iOS 10 / Xcode 8
As answered by Rob, I’ve moved the code from viewDidLoad to viewDidAppear and the problem is fixed. OR Adding self.view.layoutIfNeeded() before your code in viewDidLoad also solves the issue. In case of UITableViewCell, Inside awakeFromNib add [self layoutIfNeeded]; before updating the corner radius should solve all the issues.
UIUserNotificationSettings deprecated in iOS 10 [duplicate]
Registration of notification you should implement this code : import UserNotifications UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { (granted, error) in //Parse errors and track state } This resource contains additional information.