iOS Question how to take screen shot on a web page

Ju Yang

Active Member
Licensed User
Longtime 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

  • WW][PH%JADUO]2O~@OII)YK.png
    WW][PH%JADUO]2O~@OII)YK.png
    146.3 KB · Views: 256

susu

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

Erel

B4X founder
Staff member
Licensed User
Longtime 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
 
Upvote 0
Top