Hi,
I have app with webview which is copy of app that I have on appstore already. So problem with code is impossible. Everything seems ok, certificate, provision profile etc. (compiled-debug.png), but my phone can't download and install app (phone-error.png). It is in czech language. Text is:
"App cannot be downloaded
App "name" cannot be installed
Done | Try again
"
What I am doing wrong? Thanks for answer.
there is code:
I have app with webview which is copy of app that I have on appstore already. So problem with code is impossible. Everything seems ok, certificate, provision profile etc. (compiled-debug.png), but my phone can't download and install app (phone-error.png). It is in czech language. Text is:
"App cannot be downloaded
App "name" cannot be installed
Done | Try again
"
What I am doing wrong? Thanks for answer.
there is code:
B4X:
#Region Project Attributes
#ApplicationLabel: name
#Version: 1.0
#iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
#iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
#End Region
Sub Process_Globals
Public App As Application
Public NavControl As NavigationController
Private Page1 As Page
Private wv As WebView
End Sub
Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("WebView")
Page1.RootPanel.Color = Colors.White
NavControl.ShowPage(Page1)
NavControl.NavigationBarVisible = False
End Sub
Private Sub Page1_Resize(Width As Int, Height As Int)
Dim naob As NativeObject = wv
naob.GetField("scrollView").SetField("showsHorizontalScrollIndicator", False)
naob.GetField("scrollView").SetField("showsVerticalScrollIndicator", False)
wv.LoadUrl("http://..../")
wv.Width = 100%x
End Sub