Get the last redirected url in iOS 5?

后端 未结 2 666
天涯浪人
天涯浪人 2021-01-22 17:39

Can someone please post the simplest of working code that can get the last redirected url(nth) when I GET request a url?

I know I need to use asynchronous requests but

2条回答
  •  生来不讨喜
    2021-01-22 18:33

    We can achieve this with NSMutableURLRequest. I had followed these steps, it's working fine for me. Go through with below mentioned Link.

    URL: Click here: Get the final redirected url

    P.S: Let me know if you need further help.

提交回复
热议问题