LK.
LK.

Reputation: 4569

UIView method called after drawRect

Is there a UIView method that is called called after drawRect is completed?

Upvotes: 4

Views: 1155

Answers (2)

bddckr
bddckr

Reputation: 1392

I think you're looking for viewDidAppear:. Make sure to use an UIViewController.

Upvotes: 0

Pablo Santa Cruz
Pablo Santa Cruz

Reputation: 181280

No, there isn't. What would you need a method like that for?

If you absolutely need this, you can always subclass UIView and override drawRect message like this:

- (void)drawRect:(CGRect)rect
{
   [super drawRect:rect];
   // do your stuff here
}

Hope it helps.

Upvotes: 2

Related Questions