iOS init UIWebView to clear navigation history

后端 未结 3 1140
面向向阳花
面向向阳花 2021-01-24 12:30

I am setting uiWebviewSocial as desired on IB and is loading requests as normal. However, later I need also to init this uiwebview in order to clear goBack history. I am using a

3条回答
  •  礼貌的吻别
    2021-01-24 13:13

    Well, I've been going aroundUIWebView in Stack Overflow these days and is a mess, for me at least.

    It seemsUIWebView cache works at its own, I mean we cannot change neither access some info that is exclusively managed by system...

    About your problem, it seems although yourUIWebView is sent to nil, it keeps getting info from cache... so, you should clear cache firstable You can check it here and there

提交回复
热议问题