Eman87
Eman87

Reputation: 2745

Switch between multiple views in the same viewcontroller

I'm using the Side-out-Navigation-panel in this example and it is easy for me. Now I want to do it in storyboard and I want when select item from list panel to switch between different views in the centerViewController like uitableView or uiview. exactly like facebook.

how can I make switch between different views in the same viewController? Hope anyone got my mean. Thanks in advance.

Upvotes: 1

Views: 6160

Answers (2)

Eman87
Eman87

Reputation: 2745

This Example helped me. It is what I want to do.

Upvotes: 1

santhu
santhu

Reputation: 4792

[UIView transitionFromView:self.someView toView:self.tableView duration:.5 options:UIViewAnimationOptionTransitionFlipFromRight completion:^(BOOL finished) {
        //completion block
    }];

Upvotes: 1

Related Questions