iOSView.ContentSize

From Xojo Documentation

Method

iOSView.ContentSize() As Xojo.Core.Size

Supported on Mobile(iOS).

The size (in points) of the content area of the View. This excludes the Navigation Bar, Tab Bar and Toolbar if they are on the View.

Sample Code

Get the content size of the View:

Dim screenSize As Text = Self.ContentSize.Width.ToText + " by " + Self.ContentSize.Height.ToText