Tag Archives: Interface Builder

iphone adjustable UITextField when keyboard popup

By | June 15, 2011

In iphone programming there is no direct method to move the UITextField above the keyboard. Instead we do some adjustment. Iphone keyboard occupies the bottom 216 pixels on the screen so the UITextField placed at the bottom will not be visible. Try this method The first function will move the UITextField to the position we… Read More »

Creating a Button using Objective C

By | March 26, 2011

Hi, Sometimes you may need to create some buttons to the View using Objective C code rather than using Interface Builder. Here is how you can do that easily and efficiently. //You can create button with type. Here I am creating a Custom Button UIButton *myButton = [UIButton buttonWithType:UIButtonTypeCustom]; //Then what? Give action to be… Read More »