How to support custom graphics in iPhone 5, 4 inches display.
I know that for Default it's need to add -568h prefix and it's work when my status bar is hidden and my background image size is 640 x 1136 px. But when I need to add custom background for the screen that size smaller then 1136 px it doesn't work.
So how to support custom graphics in new retina display?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
You can use my three
#define
s:Just give your images the -568h@2x.png notation, and use
iPhone568ImageNamed
to get a name for standard name or iPhone 5/new iPod.