0

I am trying to find out, how to convert iPad xib to iPhone xib. I found this question which sais in one of the answers:

     "Now you must change the code of nib name and switch iPhone - iPad"

I don't understand how to do that. And I think it might be important, because in my UIView, Simulated Matrix, Size, I have the option "iPad full screen", and I would like to use "iPhone full screen"

Thanks, Shefy

Community
  • 1
  • 1
Shefy Gur-ary
  • 628
  • 8
  • 19
  • I am not sure wht u are trying to do but you can just remove the base view of xib and add a new UIView with the desired size add this as the base view of the xib. – Ankit Srivastava Jul 08 '12 at 06:58
  • 10x for you response. Because the code of the class is complex, and the whole project I'm basing my work on was written by another developer, and I have many other xib I will need to convert - I have to use the same xibs to save in the development time. – Shefy Gur-ary Jul 08 '12 at 08:07
  • so you mean to say you liked my comment..? Should I post this as an answer...? – Ankit Srivastava Jul 08 '12 at 08:13
  • Sure, not answering my specific problem, but might help others. – Shefy Gur-ary Jul 08 '12 at 09:00
  • This guy recommends something similar which you want achieve.. you can have a look at this.. http://stackoverflow.com/a/7285231/919545 – Ankit Srivastava Jul 08 '12 at 09:09

1 Answers1

0

I am not sure what you are trying to do but you can just remove the base view of xib and add a new UIView with the desired size add this as the base view of the xib

Warren P
  • 65,725
  • 40
  • 181
  • 316
Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115