开发者

can TTURLMap from three20 map to a xib-file?

开发者 https://www.devze.com 2023-01-08 15:51 出处:网络
ive made an app for the iphone and wanted to make it work on开发者_如何学Python an ipad too. for the navigation i used three20. all the views are viewcontrollers with xib´s.

ive made an app for the iphone and wanted to make it work on开发者_如何学Python an ipad too. for the navigation i used three20. all the views are viewcontrollers with xib´s.

for later developement, i just wanted to make the xibs in the bigger format as new skin and let the background-programm the same, so that in the end each viewcontroller would have 2 xib´s as skins.

so, three20´s URLMap can link to class-files. but how can i link to a xib ?

i wanted in the appdelegate to make the URLMap depending on the device, so that the programm it self can stay as is with its URL-Calls.


ok, now i used to overwrite the initWithNibName in combination with [UIDevice currentDevice].model to let the viewcontroller check, on which device he loads

0

精彩评论

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