When I run SpriteBuilder cocos2d project in Xcode Simulator, splash screen is landscape and the whole game after it is in the portrait mode, as I set it in SpriteBuilder project settings. Mode is set portrait in the .plist file, and after I replaced default portrait image with my own and deleted default landscape images, it just shows my portrait splash image in the landscape mode. How to fix it?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- how to find the index position of the ARRAY Where
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
The .plist, I checked, was actually a .plist file generated by cocos2d framework or SpriteBuilder. I also must change
Supported interface orientations
in the native Xcode .plist file - I just didn't see it and thought, that another one .plist file is the only one, that can be.I assume your image files are named according to the answer in this question.
Try cleaning your project and deleting the app from the simulator/device. I have found Xcode sometimes likes to cache files in the simulator/device.