A
A
Alexey Khodakov2019-04-13 11:34:35
Swift
Alexey Khodakov, 2019-04-13 11:34:35

How to make WKWebView as global object in multi-view application?

Good afternoon.
There is an application with several views, switching between which occurs using the Tab Bar Controller. In each of the views, a WKWebView object with a site section.
How to implement this object as a global one in order to work with the same WKWebView in different views. Those. in one view I have a personal account, and in the other - everything else, including the registration of the application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
briahas, 2019-04-18
@briahas

From your description, I don't see the need to use one object on multiple tabs. Use different.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question