Skip to content

Just use WKWebview programmatically #32

@phucledien

Description

@phucledien

So, recently I got the task to do 'thing' in the web view. And in that project, I'm using the Micro View Controller technique. Every VC will have a nib, so I make one for the web view.

Everything works well until I archive the app and run it in production env. Guest what? the app crash immediately when I open the web view, while it did work perfectly when debug. After half an hour researching, debugging, I found out that, there are some errors with WKWebView when using it in the nib file.

Switching to add the web view programmatically and it works! thank god

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions