简体   繁体   中英

flash cc on iphone5 - margins on top and bottom

I'm using flash CC to create an app for iPhone5. In flash CC I start a new air for iOS file. I get a stage of 640x960 . The stage is empty and there's no code. I publish, check it out on the iPhone and I get margins on the top and bottom. 1 cm each. It simply won't cover the whole screen.

I tick the full screen box in the settings -> still get the margins.

I add: stage.displayState = StageDisplayState.FULL_SCREEN; -> still get the margings.

I change the stage's size to various sizes -> all the same. What am I missing? how do I make these margins disappear? (I just want to see my empty stage covering the whole iPhone5's screen)

经过多次搜索后,我在这里找到了问题的答案: http : //blogs.adobe.com/airodynamics/2012/11/07/deploying-air-apps-on-iphone-5/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM