I set the Scroll view size to scroll up the content if they hide behind the Keypad. Its a universal app now I am doing same for iPad.
What would be the height/width of ipad screen and How do I set these for ipad?
code to check if its Ipad or Iphone
BOOL isiPhone = UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone;
if (isiPhone)
// write code
these are variable to set.
#define SCROLLVIEW_CONTENT_HEIGHT 460
#define SCROLLVIEW_CONTENT_WIDTH 320