nobbi59 Active Member Licensed User Longtime User Dec 26, 2017 #1 Hello, Im trying to write a library. Therefore I need to get the native UIWebView from the B4iWebViewWrapper? How is this possible? A function like getClass doesn't exist in the wrapper.
Hello, Im trying to write a library. Therefore I need to get the native UIWebView from the B4iWebViewWrapper? How is this possible? A function like getClass doesn't exist in the wrapper.
Erel B4X founder Staff member Licensed User Longtime User Dec 26, 2017 #2 You don't want the class. You want the wrapped object. Just create a method that expects a UIWebView* and you will get one when you pass WebView1 from B4i. Upvote 0
You don't want the class. You want the wrapped object. Just create a method that expects a UIWebView* and you will get one when you pass WebView1 from B4i.
JanPRO Well-Known Member Licensed User Longtime User Dec 26, 2017 #3 Hi, you can use the .object property Edit: Erel was faster, his solution is better. Jan Upvote 0
nobbi59 Active Member Licensed User Longtime User Dec 26, 2017 #4 @Erel Thank you, I didn't know that. Makes everything a lot easier. Upvote 0