WKWebView
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
Please give me a chance to ask you.
I would like to use WKWebView. I wrote following source code.
void Start()
{
webViewObject = (new GameObject("WebViewObject")).AddComponent();
webViewObject.Init((msg)=>{
if (msg == "clicked") {
webViewObject.SetVisibility(false);
}
},enableWKWebView: true);
webViewObject.LoadURL(url);
webViewObject.SetMargins(50,100,50,50);
webViewObject.SetVisibility(true);
}
But I could not compile correctly with this source code.
How can I enable WKWebView?
Is there anything my mistake in my source code?
Best Regards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the provided Unity Start() snippet, especially the Init call with enableWKWebView and the WebViewObject setup. Compare that call with the project's documented API or entry point for WKWebView and identify the compile error; done means the example compiles and enables the requested web view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100