Design for iPad and iPhone

Asked

Viewed 73 times

1

Well, I have a problem, I have a project where I have a file Storyboard for iPhone and other file Storyboard for iPad. So I have a UIImageView on Storyboard for iPhone, and another UIImageView on the iPad Storyboard.

But I have a IBOutlet already connected and receiving images and displaying the images in the simulator using iPhone. But I haven’t connected to UIImageView iPad because I’m in doubt, if can connect to the same iPhone Iboutlet, or have to create another ViewController only for iPad.

Someone could help me?

1 answer

3


No, no need to create another Viewcontroller for iPad; you can use the same for both. Iboutlet can receive two calls, one to iPhone and one to iPad. However, make sure that the View you have on iPad is referenced to your Viewcontroller (file Owner)!

  • I’ll take a look!! Thank you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.