Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to get the width and height of a frame view for xamarin forms for iOS?

$
0
0

I have implemented a gradient background color for frame and grid view.Its perfectly working fine in android but in iOS i have to mention the width and height static.
mainView = new UIView(new CGRect(0, 0, viewWidth, viewHeight));

i need to get the appended frame height and width but not the default screen size UIScreen.MainScreen.Bounds.Width.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>