5

I am using tab bar with four tab bar item. First tab bar item view is front view of swrevealviewcontrtoller. I attached storyboard view controllers detail image.enter image description here

And output with no tab bar.

enter image description here

Vinayak Bhor
  • 691
  • 1
  • 8
  • 20

1 Answers1

2

Hi below i added tabbar and display in viewcontroller.

Step 1:

First Embed the tabbar controller to navigation controller.

Step 2:

Then add the viewcontrollers to the tabbar.

Here i added only one screen navigation controller. Then i added same swrevealview for side menu. If u have any doubt let me know.

enter image description here

This is output screen :

enter image description here

  • Thanks you so much ...I solve problem partially. Added tab bar on view controller but reveal menu button not working.Can I embed navigation bar to tab bar controller? please give me solution for that.. – Vinayak Bhor Mar 20 '18 at 04:37
  • @VinayakBhor thank for your reply. Tabbar its working fine now? – ManiVasanth Mar 20 '18 at 05:05
  • Yes.Navigation bar reveal bar item not working ..is it possible to embed navigation controller to tab bar Controller – Vinayak Bhor Mar 20 '18 at 05:14
  • Its possible, here also i did like that only. First screen embed with navigation controller, then i connected SwRevealview controller. Check that image. – ManiVasanth Mar 20 '18 at 05:19
  • I have doubt .In above image Is initial view is swreveal view controller which is connected to tab bar controller? – Vinayak Bhor Mar 20 '18 at 05:38
  • Ya, initial view swreveal view controller, one i connected to sidmenu viewcontroller. another one in tabbar controller. But, there first tab bar is home screen. Check it . – ManiVasanth Mar 20 '18 at 05:46