|Oct 20, 2009, 05:29 AM||#1|
Strange placement of views within window (views seem to ignore status bar)
Whenever I've tried to create a "window based application" in Interface Builder I seem to get a weird displacement of the views within the window. They all seem to be shifted up by about 20px (actually the exact size of the status bar).
It seems that the window is ignoring the status bar when positioning the view or the view itself is ignoring the status bar.
I've tried playing with the alignment and status bar settings in Interface Builder but to no avail so I'm really a bit stumped.
Any ideas would be welcome
|Oct 20, 2009, 05:37 AM||#2|
I fixed the problem but I'm not entirely sure that this is the right way of going about it.
In the MainWindow.xib file I created a UIViewController outlet (and made it a "MyViewController" instead). Within that I selected Resize View from Nib and selected the Nib name. I then connected that to the app delegate and hey presto, the view no longer has strange placement.
I don't really understand why, however.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Strange status bar bug causing Lagg||dsiiist||iOS 7||15||Apr 29, 2014 03:51 PM|
|Strange status bar bug||Am3r1ca16||iOS 7||5||Jul 29, 2013 04:59 PM|
|iPhone: How to stop status bar from showing location icon in status bar?||Zmanbaseball2||Jailbreaks and iOS Hacks||7||Apr 11, 2013 08:14 PM|
|iPhone: BiteSMS.... closing quick reply window is not clearing notification on status bar.||JrFreak||Jailbreaks and iOS Hacks||3||Feb 9, 2013 04:02 PM|
|Strange symbol in status bar: AT&T network||Zerozal||iOS 6||16||Nov 7, 2012 02:20 PM|
All times are GMT -5. The time now is 07:53 PM.