在開發iPhone應用的過程當中,如何簡單的適配iPad(禁止ipad橫屏)

開發應用中,若是須要應用禁止橫屏,除了在項目的target裏設置【去除勾選支持的方向】,還須要勾選Full Screen選項【默認沒有勾選,此時須要勾選】,而後在AppDelegate中加入代碼:app - (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientati
相關文章
相關標籤/搜索