How to specify size for iPhone 6/7 customised edge-to-edge image?

后端 未结 12 1009
死守一世寂寞
死守一世寂寞 2020-11-28 01:59

Say I want a bundled image to take up all available screen width in an iPhone app - for example a banner. I\'d create my_banner.png with width 320px

12条回答
  •  无人及你
    2020-11-28 02:18

    Hope this will solve all your issues related to customised edge to edge image.
    Xcode 6 - xcassets for universal image support

    Make sure if you are using auto layout then check pin is set to zero for all edges and constraints to margin is un checked.

    You can also visit this links for launch screen images:
    http://www.paintcodeapp.com/news/iphone-6-screens-demystified
    http://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions

    enter image description here

提交回复
热议问题