Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 RKObjectManager 的 http 和 https 基本 url 之间切换的最佳方式是什么。我应该让共享管理器设置为 http 基本 url,然后为 https 请求新建一个全新的实例或 RKOjbectManager 吗?有什么我应该担心的陷阱或陷阱吗?
我做了同样的事情——我保留了 RKObjectManager 的三个实例(http、https 和第三个具有不同的 baseUrl 以与遗留 API 的某些部分交互),它就像一个魅力。