I updated Xcode 8 beta 3 to Xcode 8 beta 4 and I am actually correcting some bugs due to swift changement.
Function :
override func shouldAutorotate() -> Bool {
return false
}
Print an error and Xcode told me that this function is not override. It's mean that the function does not exist anymore.
override var shouldAutorotate
This var has just get properties so I can't change the value by this way.
So how can I work with autorotate now ?
Thanks !
This is the right way
override var shouldAutorotate: Bool {
return false
}