I have drawn a UIView (i.e. UIButton) in my code for an iPhone app.
Now I want to develop a iPad version, but since the screen size of the iPhone and iPad differ, the UIView should have different sizes. What can I do to deal with the views programmatically?