Native apps often have nested H5 pages, and the H5 hierarchy is too deep to add a slide-back feature.

use

pod 'TDWebViewSwipeBack'
Copy the code
[self addWkwebView:self.wkWebView swipeBackAble:YES];
Copy the code
  • Support the webView wkwebview
  • Source address, welcome star