Re: UIImageView drawRect not called

2009-01-06 Thread Julian
I have independently encountered the same scenario and gotten the same results. The documentation suggests that if you call setNeedsDisplayInRect:, drawRect: will get called. Also, I have put a symbolic breakpoint on -[UIImageView drawRect:], and it does get called sometimes, but seemingly not

Re: UIImageView drawRect not called

2008-12-02 Thread David Duncan
On Dec 1, 2008, at 6:45 PM, DKJ wrote: I have a subclass of UIImageView, MySubView, which is instantiated and added as a subview in the viewDidLoad method of a UIViewController. MySubView displays a picture without difficulty when its image property is set in its initWithFrame method. But

UIImageView drawRect not called

2008-12-01 Thread DKJ
I have a subclass of UIImageView, MySubView, which is instantiated and added as a subview in the viewDidLoad method of a UIViewController. MySubView displays a picture without difficulty when its image property is set in its initWithFrame method. But its drawRect method is never called. (I