Quote:
Originally Posted by cazlar
Not sure on the first bit, but the second is 460/2 = 230 + the 20 (for the statusbar probably?) = 250. The 460 is a size, not the coordinates of the end point (so in other words not 460-20 /2 =220). Hope that makes sense.
|
first of all: thanks yor replying.
secondly, you are (of course) right about the UIView. seems I was a little confused when I wrote that
still, I wonder about the coordinates of the window. I guess it has something to do with frame and center being in the superviews coordinate system, but a window does not have a superview ... maybe that's the reason?
actually, all I wanted to try is to get the exact center of the window to position something exactly there. I didn't want to do it with the UIView because then I would have to consider statusbar and maybe other stuff, window just seemed easier to me. But maybe that's just not possible.
thanks for your answer anyway, not I can at least use the UIView
