iphone nsurlconnection read cookies

前端 未结 3 1758
情书的邮戳
情书的邮戳 2021-01-02 02:00

I am using async NSURLConnection to connect to a web site from iPhone. Handle didReceiveResponse is activated on response and I am trying to get all cookies, by using allHea

3条回答
  •  佛祖请我去吃肉
    2021-01-02 02:48

    I don't know if it matters in apps, but what is your Accept Cookies setting for Safari in the Settings app. See if changing to Always matters.

    According to some sites I've seen, a complete reboot of the iPhone is required for this setting to have any effect.

提交回复
热议问题