Hi there,
I'm having a very interesting problem... I had my application working great, but wanted to add more, so I figured I'd add a navigation bar and just call my current class (which extends UIView) as a subview in my new view controller.
The only problem is, when I do this I get it 20 pixels beneath the navigation bar. So there is a black space and it's quite frustrating and I haven't been able to get rid of it. Has anyone had this problem? Let me know if there is any specific code you want to see.
Thanks!
Apparently it's 20 pixels because setting the rect as (0,-20,any number, anynumber) sticks it in the upper left corner...
Surely this isn't the intended way to tackle this, right?
I'm having a very interesting problem... I had my application working great, but wanted to add more, so I figured I'd add a navigation bar and just call my current class (which extends UIView) as a subview in my new view controller.
The only problem is, when I do this I get it 20 pixels beneath the navigation bar. So there is a black space and it's quite frustrating and I haven't been able to get rid of it. Has anyone had this problem? Let me know if there is any specific code you want to see.
Thanks!
Apparently it's 20 pixels because setting the rect as (0,-20,any number, anynumber) sticks it in the upper left corner...
Surely this isn't the intended way to tackle this, right?