bharath bharath - 1 year ago 76
C# Question

How to get width and height of iPhone/iPad using MonoTouch?

I need to get the width and height of iPhone/iPad using MonoTouch.

How to get programmatically?

Answer Source

To get the screen size of the device, call UIScreen.MainScreen.Bounds. It returns a RectangleF with the screen size.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download