-1
func keyboardWillShow(aNotification: NSNotification) {
//Collect information about keyboard using its notification.
let info = aNotification.userInfo
let duration = (info[UIKeyboardAnimationDurationUserInfoKey] as NSValue) as Double
let curve : AnyObject? = info[UIKeyboardAnimationCurveUserInfoKey]
let kbFrame : AnyObject? = (info[UIKeyboardFrameEndUserInfoKey] as NSValue).CGRectValue().size
}
我怎樣才能得到這些應不
「[NSObject的:AnyObject]讀?沒有一個成員命名'下標'「錯誤?
在xCode的測試版中,它已經工作,但是從xCode 6.1它不再正常工作。