thndrkiss
thndrkiss

Reputation: 4595

removing the current view from the tabbarcontroller

hi how to remove the current view displayed on tabbar controller. the view is added using [self.tabBarController.view addSubview:myView.view]. What should be done in myView to remove this view.

Upvotes: 0

Views: 403

Answers (1)

Reena
Reena

Reputation: 845

try this

[myView.view removeFromSuperview];

Upvotes: 1

Related Questions