iOS Question webview showing blank page

le_toubib

Active Member
Licensed User
hi all :
i try to load a page using this command :

B4X:
    WebView1.LoadUrl("file://" & File.Combine( File.DirDocuments , ReportPath))
where report path is correct, and the file exists.
i get a blank page, and 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]
Application_Inactive
Application_Background
Can't endBackgroundTask: no background task exists with identifier 13bb2d, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
what am i missing
 

le_toubib

Active Member
Licensed User
strangly enough, it worked when i was on iphone 4 and 5s, but still give the same error on ipad mini... is there an explanation to that?
 
Last edited:

RichardN

Active Member
Licensed User
I am also having a problem with the WebView. I am using:
B4X:
WebView1.Loadurl(File.Combine(File.DirAssets,"readme.htm"))
The simple .htm file is perfectly displayed on my two test devices (iPhone4 and iPad) when in debug mode, but when deploying 'Build Release App' the WebView is completely blank. The program continues to run without error.

???
 
Top