在我看来,我的 UIWebView 落后于其他视图

It seems to me that my UIWebView is behind other views

我正在添加一个新的 uiwebview 以便登录。 有一天(更新到iOS9后,但我认为不是这个原因)我没有显示这个uiwebview。 那么,我该怎么做才能确定我的观点在顶部? 有没有办法以编程方式提高它?

  • (void)bringSubviewToFront:(UIView * _Nonnull)view

在 UIWebView 的超级视图上使用它: 例如:

[self.view bringSubviewToFront:self.webView];