1.通过模拟器调试程序时,app在iphone上运行正常,在ipad上运行多了一圈黑边。

solution:Deployment Info-- Device --iPhone改成Universal(通用),还要注意Deployment Target,既要保证iOS系统版本配套,又要保证设备选中通用