IOS 10 beta, keyboard access crashes

iOS 10 beta 4 Xcode 8 beta p>

Getting a crash when accessing the size of the keyboard frame, for example:

var keyboardFrame:CGRect = (userInfo[UIKeyboardFrameBeginUserInfoKey] as! NSValue).cgRectValue() keyboardFrame = self.view.convert(keyboardFrame, from: nil) var contentInset:UIEdgeInsets = self.scrollView.contentInset contentInset.top = -keyboardFrame.size.height + (tabBarController?.tabBar.frame.size.height)! contentInset.bottom = keyboardFrame.size.height - (tabBarController?.tabBar.frame.size.height)! 

The magazine shows:

[MC] Group group container for systemgroup.com.apple.configurationprofiles / private / var / container / Shared / SystemGroup /

+7
ios ios10 swift xcode8
source share

No one has answered this question yet.

See related questions:

1665
How can I make UITextField move up when there is a keyboard - when editing starts?
111
Xcode iOS 8 Keyboard Types Not Supported
58
Group group container for the systemgroup.com.apple.configurationprofiles path
nine
Scan a barcode or QR code in Swift 3.0 using AVFoundation
3
iOS 10.0 Beta, Keyboard Extensions: Disappearing Numeric Keypad (iPhone)
2
Xcode system configuration and inability to access ios keyboard
one
Getting an error log in the console for adding a UISearchViewController to a tvOS 10.0 scoreboard element
one
No video output and [MC] Read from public user settings. Error in Swift / iOS 11
0
"canOpenURL" acts weird ... or am I?
0
Reading from Private Effective User Preferences When Clicking the UISearchbar Button

All Articles