You cant change the class type at runtime.
Alternatively you can set your control to stop handling user interactions:
self.userInteractionEnabled = NO;
1
solved Changing UIView To be instance from UIControl Programmatically [closed]
You cant change the class type at runtime.
Alternatively you can set your control to stop handling user interactions:
self.userInteractionEnabled = NO;
1
solved Changing UIView To be instance from UIControl Programmatically [closed]