Converting iPhone xib to iPad xib?

后端 未结 17 2906
一向
一向 2020-11-27 09:31

How do you do it? I saw one video tutorial on it, but the screen was too small. Also, other than changing the view size, are there any other major changes I would have to

17条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 10:17

    You can open the XIB as textfile and change the UIView size:

    Right click on your XIB file in de navigator and select: "open as..." Open as source file.

    Find the UIView reference and change the Frame values:

    
    
    {{0, 20}, {768, 1024}}
    
        

    提交回复
    热议问题