Setting Background image in simulator home-screen

后端 未结 6 2177
你的背包
你的背包 2021-02-18 13:09

I was scratching my brains over something when this popped in my mind. Can we set the simulator\'s home-screen background image to an image of our choice? Case in point is Xcode

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-18 13:20

    Certain versions of the simulator appear to support this, not just for the home screen but for the lock screen too (which you get to with Command ⌘+L):

    1. Drag an image from your Mac to the simulator.
    2. Mobile Safari opens. Click and hold the image.
    3. Choose Save Image.
    4. Go to Photos.app, and into the photo album.
    5. Choose your image, and set it as the home screen background like you do on a device.
    6. You may need to restart the simulator.

    Note that since this isn't exactly officially supported, it may or may not work for you depending on your version of Xcode or the simulator.

提交回复
热议问题