I've subclassed an UIImageView. After
self = [super initWithImage:image]
I try to access the self.frame.origin.y value. But it is always 0.0. One moment later, in a method that gets called from the outside, the property is fully there with a nice 100.0.
I also tried to override -(id)initWithFrame:(CGRect)aRect, but the result is the same. Is that property first set correctly as soon as the view is added to some superview? I belief that I am trying to get the frame rect directly after the object has been allocated and initialized, but before it gets added to the superview. That happens one line later.