Can web pages nest native pages?

We all know that Hybrid mode is native container nesting web pages. I would like to ask if there is such a situation as web pages nesting native pages, and if so, how do you do it? If not, why not?

Let me first talk about my personal idea. Web nested native pages do not exist, because native web pages can be nested because there are native webview or UIwebview components to accomplish this function, but there is no such component to host native pages in web.


personally agree with you that hybrid mode web cannot nest native pages. But it can pass some events and call the native view.


once dealt with a requirement like this:
[self.webView.scrollView addSubview:self.headView];
self.webView.scrollView.contentInset = UIEdgeInsetsMake (260,0,0,0);
thus achieving the effect of using native views in web

Menu