iOS Question how to take screen shot on a web page

Ju Yang

Active Member
Licensed User
I am a B4i Beginner,i want to develop a B4i App like iOS8 Safari 3D-View
now ,i can rotate the web page ,but in the 3D-tag ,it should be the screen shot image of a web page .
i need some ideas about taking screen shot on a web page
 

Attachments

susu

Well-Known Member
Licensed User
You should post in iOS Question forum.
 

Erel

Administrator
Staff member
Licensed User
B4X:
Private Sub Application_Start (Nav As NavigationController)
   NavControl = Nav
   Page1.Initialize("Page1")
   NavControl.ShowPage(Page1)
   Page1.RootPanel.LoadLayout("1")
   WebView1.LoadUrl("http://www.google.com")
End Sub


Sub WebView1_PageFinished (Success As Boolean, Url As String)
   Dim cvs As Canvas
   cvs.Initialize(ImageView1)
   Dim dest As Rect
   dest.Initialize(0, 0, ImageView1.Width, ImageView1.Height)
   cvs.DrawView(WebView1, dest)
   cvs.Refresh
End Sub
 
Top