How can I see the communication of the RestKit network (JSON string)?

后端 未结 2 650
温柔的废话
温柔的废话 2021-02-05 05:03

I wish to see the JSON input/output of the iPhone. How can I do that?

Do I need to set use NSLog() (and where)? Or, set the RestKit logging level (to what)?

相关标签:
2条回答
  • 2021-02-05 05:18

    Try placing this RKLogConfigureByName("RestKit/Network", RKLogLevelTrace); in your AppDelegate

    0 讨论(0)
  • 2021-02-05 05:37

    You can use Charles - Debugging Proxy

    0 讨论(0)
提交回复
热议问题