iphone Programming Glossary: anotification
NSString to equation http://stackoverflow.com/questions/1501949/nsstring-to-equation
UIKeyboardBoundsUserInfoKey is deprecated, what to use instead? http://stackoverflow.com/questions/2807339/uikeyboardboundsuserinfokey-is-deprecated-what-to-use-instead offered solution but still had issues. Here's what I came up with instead void keyboardWillShow NSNotification aNotification self moveTextViewForKeyboard aNotification up YES void keyboardWillHide NSNotification aNotification self moveTextViewForKeyboard.. Here's what I came up with instead void keyboardWillShow NSNotification aNotification self moveTextViewForKeyboard aNotification up YES void keyboardWillHide NSNotification aNotification self moveTextViewForKeyboard aNotification up NO void moveTextViewForKeyboard.. NSNotification aNotification self moveTextViewForKeyboard aNotification up YES void keyboardWillHide NSNotification aNotification self moveTextViewForKeyboard aNotification up NO void moveTextViewForKeyboard NSNotification aNotification up BOOL up NSDictionary..
Hide StatusBar from MPMoviePlayerController http://stackoverflow.com/questions/3653236/hide-statusbar-from-mpmovieplayercontroller name MPMoviePlayerLoadStateDidChangeNotification object moviePlayer void moviePlayerEvent NSNotification aNotification UIApplication sharedApplication setStatusBarHidden YES withAnimation NO NSLog @ i UIApplication sharedApplication .statusBarHidden..
How to resize UITextView on iOS when a keyboard appears? http://stackoverflow.com/questions/7169702/how-to-resize-uitextview-on-ios-when-a-keyboard-appears BOOL animated NSNotificationCenter defaultCenter removeObserver self void moveTextViewForKeyboard NSNotification aNotification up BOOL up NSDictionary userInfo aNotification userInfo NSTimeInterval animationDuration UIViewAnimationCurve animationCurve.. removeObserver self void moveTextViewForKeyboard NSNotification aNotification up BOOL up NSDictionary userInfo aNotification userInfo NSTimeInterval animationDuration UIViewAnimationCurve animationCurve CGRect keyboardEndFrame userInfo objectForKey.. keyboardFrame.size.height up 1 1 textView.frame newFrame UIView commitAnimations void keyboardWillShown NSNotification aNotification buttonDone.enabled true self moveTextViewForKeyboard aNotification up YES void keyboardWillHide NSNotification aNotification..
Keyboard Scroll on Active Text Field - Scrolling to Out of View? http://stackoverflow.com/questions/7193787/keyboard-scroll-on-active-text-field-scrolling-to-out-of-view object nil Called when the UIKeyboardDidShowNotification is sent. void keyboardWasShown NSNotification aNotification NSDictionary info aNotification userInfo CGSize kbSize info objectForKey UIKeyboardFrameBeginUserInfoKey CGRectValue .size.. when the UIKeyboardDidShowNotification is sent. void keyboardWasShown NSNotification aNotification NSDictionary info aNotification userInfo CGSize kbSize info objectForKey UIKeyboardFrameBeginUserInfoKey CGRectValue .size UIEdgeInsets contentInsets UIEdgeInsetsMake.. animated YES Called when the UIKeyboardWillHideNotification is sent void keyboardWillBeHidden NSNotification aNotification UIEdgeInsets contentInsets UIEdgeInsetsZero scrollView.contentInset contentInsets scrollView.scrollIndicatorInsets contentInsets..
Move UIScrollView when keyboard comes into place http://stackoverflow.com/questions/8590636/move-uiscrollview-when-keyboard-comes-into-place to resize a UIScrollView. I have placed an NSLog message in the code for function void keyboardWasShown NSNotification aNotification so I see that the function is actually being called but when I try to to NSLog the kbSize.height it is always valued at.. valued at 0. Why does the code that apple provide for this purpose not work void keyboardWasShown NSNotification aNotification NSDictionary info aNotification userInfo CGSize kbSize info objectForKey UIKeyboardFrameBeginUserInfoKey CGRectValue .size.. code that apple provide for this purpose not work void keyboardWasShown NSNotification aNotification NSDictionary info aNotification userInfo CGSize kbSize info objectForKey UIKeyboardFrameBeginUserInfoKey CGRectValue .size UIEdgeInsets contentInsets UIEdgeInsetsMake..
|