标签:
universal app supports both ipad and iphone。要了解universal如何支持both ipad and iphone,最直接的方法就是创建一个universal project。
universal project的基本特点:
1. target > summary > devices is universal
2. xib for ipad and xib for iphone can share the same view controller,当然使用不同的view controller绝对没问题。
3. in appdelegate.m didFinishLaunchingWithOptions method, use following code to 根据device是ipad还是iphone来指定 access 不同的 view
标签:
原文地址:http://www.cnblogs.com/lvyinbentengzhe/p/4192075.html