[Solved] Changing UIView To be instance from UIControl Programmatically [closed]

[ad_1]

You cant change the class type at runtime.
Alternatively you can set your control to stop handling user interactions:

self.userInteractionEnabled = NO;

1

[ad_2]

solved Changing UIView To be instance from UIControl Programmatically [closed]