iphone Programming Glossary: scrolltoy
Moving UIView up when keyboard shown http://stackoverflow.com/questions/5220818/moving-uiview-up-when-keyboard-shown this to fit your specific needs. UIView FormScroll.h #import Foundation Foundation.h @interface UIView FormScroll void scrollToY float y void scrollToView UIView view void scrollElement UIView view toPoint float y @end UIView FormScroll.m #import UIView.. view toPoint float y @end UIView FormScroll.m #import UIView FormScroll.h @implementation UIView FormScroll void scrollToY float y UIView beginAnimations @ registerScroll context NULL UIView setAnimationCurve UIViewAnimationCurveEaseInOut UIView.. commitAnimations void scrollToView UIView view CGRect theFrame view.frame float y theFrame.origin.y 15 y y 1.7 self scrollToY y void scrollElement UIView view toPoint float y CGRect theFrame view.frame float orig_y theFrame.origin.y float diff y..
|