Reputation: 11519
I have One view controller and in this view controller I have another sub view. How can I remove this sub view. Thanks
Upvotes: 1
Views: 352
Reputation: 15147
Suppose your subview name is tempView then use this
[tempView removeFromSuperview];
Upvotes: 2