Is it possible to disable the network in iOS Simulator?

后端 未结 20 1317
名媛妹妹
名媛妹妹 2020-11-30 15:58

I am trying to debug some inconsistent behaviour I am seeing in an application that gets its primary data from the internet. I don\'t see the issues in the simulator, just

20条回答
  •  情深已故
    2020-11-30 16:49

    You could use OHHTTPStubs and stub the network requests to specific URLs to fail.

提交回复
热议问题