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?
for a universal iOS app, ask what device you are serving and have your view drawn accordingly
so in your view controllers use::