iOS Question Problem with webview

mrossen

Active Member
Licensed User
Longtime User
When I try to do this :

Code: Copy
Log(sPath)
Log(File.Exists(File.DirDocuments & pdfDir, sPath))
WebViewLeaflet.LoadUrl("file://" & File.Combine(File.DirDocuments & pdfDir, sPath))
NavControl.ShowPage(leaflet)

I can get the the path to the file and file.exits return true, but I get this error

*** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]

Anyone knows what that Means?

Mogens
 

Similar Threads

Replies
10
Views
5K
  • Question Question
iOS Question List problem
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Back
Top