TheSidebarController icon indicating copy to clipboard operation
TheSidebarController copied to clipboard

push/pop effects on changing the contentViewController

Open bhavinchitroda opened this issue 10 years ago • 3 comments

Hi,

I have a contentViewController which has a tableview inside it. I want to push the next view on selection of any row from the tableview. For that right now I am using this code...

self.sidebarController.contentViewController = contentViewController;

But, as we know it won't show any push effect. How to add push/pop effects in this case?

bhavinchitroda avatar Aug 28 '14 12:08 bhavinchitroda

Hi @bhavinchitroda

Is the tableview embedded in a navigation controller?

Jon

jondanao avatar Aug 29 '14 05:08 jondanao

Yes, it is. But, note that I want that sidebarcontroller in next "pushed" view also.

bhavinchitroda avatar Aug 29 '14 09:08 bhavinchitroda

Hi, I'm use self.sidebarController.navigationController?.pushViewController(Class(), animated: true) from RightSideMenu but nothing happen

jonapin006 avatar May 17 '15 00:05 jonapin006