Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

View is displayed under status bar in iOS 7 and EdgesForExtendedLayout doesn't help

$
0
0

I'm having a problem that my view is diplayed under the status bar. After searching I found I had to added "this.EdgesForExtendedLayout = UIRectEdge.None;" to the ViewDidLoad() of the ViewController, but it doesn't work for me.

As a reference I used the hello_iPad example from xamarin (http://docs.xamarin.com/samples/Hello_iPad) Added a label positioning it at the top of the screen in IB. In iOS6 it's displayed correctly.

Now I added the line "this.EdgesForExtendedLayout = UIRectEdge.None;" and run it in the iOS7 simulator, the label is displayed in the status bar. What am I doing wrong?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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