How to reset iPhone simulator

前端 未结 8 1377
挽巷
挽巷 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:33

    For iOS 14 and newer:

    Device > Erase All Contents and Settings...

    For iOS 11 and newer:

    Hardware > Erase All Contents and Settings...

    For previous versions:

    Simulator > Reset Content and Settings...

    (In earlier versions of the simulator the top menu entry label was "iOS Simulator"

提交回复
热议问题