narco narco - 1 year ago 132
iOS Question

didMoveToSuperview not getting called

I am adding a

to a UIView.

on the scrollview gets called, but for some reason
on the scrollview does not get called, even though the scrollview clearly gets added.

I feel like I must be missing something obvious?

Answer Source

You've probably mistyped the method signature:

- (void)didMoveToSuperview {
  [super didMoveToSuperview];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download