Closed davidvanbeveren closed 10 years ago
Figured it out! Get rid of:
[label sizeToFit]; label.center = self.view.center;
I also commented out:
imageView.contentMode = UIViewContentModeScaleAspectFill;
But that may have nothing to do with the problem, more preference.
It was centering in the view, the background image view as well, so any coordinates we're ignored. Fun stuff :-) This may cause issues for folks in Portrait mode too, it might not have been a Landscape only thing in this case. Anyways, problem solved, closing this thing, thanks again!
David.
For some reason, in Landscape, the coordinates totally freak out. I can change it to (5, 5, 250, 500) and it will not appear where it should be, in fact, I can't even use negatives to get it to appear at the top. I'm attaching it to the subview of my overall view, so 0,0, should signify the top left, but no go. Still working on this, but I'm pretty sure it has to do with my app working in landscape and not portrait.
Edit: Just realized I complained without leaving anything positive: big thanks to the author for the control, it's super beautiful and exactly what I need for my project, I just have to get it to work :-)