Clear iPhone simulator cookies

前端 未结 6 1094
野趣味
野趣味 2021-02-06 10:35

I have an app that makes request to a REST service. Authentication is done using cookies. This already works.

What I have problems with is to test the case when the cook

6条回答
  •  广开言路
    2021-02-06 11:15

    You can go to the home screen, then the settings app. Tap Safari, then scroll down to Clear Cookies. I'm not sure where the cookie file is on the filesystem, somewhere under /Developer/Platforms/iPhoneSimulator.platform I'd expect (see Matthew Frederick's answer).

提交回复
热议问题