开发者

iPhone Dev: multiple XIB to support orientation like multiple languages?

开发者 https://www.devze.com 2023-01-21 09:11 出处:网络
I\'ve just discovered multiple xib for languages ui support, I\'m very excited because is simpler than I ex开发者_运维技巧pected.

I've just discovered multiple xib for languages ui support, I'm very excited because is simpler than I ex开发者_运维技巧pected. Now I was wondering if it's possible to apply same method to have multiple xib for different orientation simply creating different folders in project containing a xib with the same name.


It's not that simple. You can do that to have multiple NIBs for iPad and iPhone, but for orientations, you have to manually reload the NIB both at initialization (unless you always load at a constant orientation), and during a RotationToInterfaceOrientation event.

0

精彩评论

暂无评论...
验证码 换一张
取 消