How to reset iPhone simulator

前端 未结 8 1352
挽巷
挽巷 2020-12-01 07:21

My app uses the location service. To test what is happening when the user presses \'Don\'t allow\' when the simulator asks for the permission to access the location service

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 07:53

    Or you can choose simctl to manage iOS simulator in Command Line.

    $ xcrun simctl erase all is too erase all content in all simulator.

    For more information, you can read this blog from XCBlog: https://medium.com/xcblog/simctl-control-ios-simulators-from-command-line-78b9006a20dc

提交回复
热议问题