Navigation Bar Buttons Hidden Issue Using With TabBarViewController - ios

I have recently started iOS application development.
So, i hope every iOS developer will help me.
Problem :
I have been using uinavigationview controller with uitabviewcontroller.
I have some uinavigation bar 2 right Buttons and 2 left buttons.
i need all these on all my tabs except one where i need to hide all.
but it will not hide all.
After doing google
i found two line code.
self.navigationItem.rightButtonItems=nil;
self.navigationItem.leftButtonItems=nil;
But it still showing all.
Thank you in advance for your precious time to see my problem and help me out.

Related

Implementing a back button without navigation controller

I'm kind of new to programming in swift and in general in xcode. I'm creating my first app and i've run into this issue that i cant seem to find a fix for online..
my first scene is a view controller with two buttons where you pick a language and it redirects you to the appropriate tab controller in that language.. now I'd like to add a back button to those tab controllers in order to go back in case you picked the wrong language.
what I've tried so far doesn't really work..
I have tried using a navigation controller but they dont show on the first view controller so that doesnt help me, ive tried putting just a navigation bar and adding a navigation item (see pictures below) but the back button isnt rendered correctly and cannot be reached..
help is much appreciated !!
You can use first UIView and set top constraint 0 with safe area. See image
Hope it helps.

last tab hides behind first tab: XLPagerTabStrip

I'm using XlPagerTabStrip for the swipe tabs, everything looks great beside the last tab hiding behind the first tab for the first time while screen is in vertical mode. But after app goes to landscape mode, everything looks good even when app is back to vertical mode.
I'll really appreciate if anyone can guide me towards right direction.
Sorry, the problem was i copied the Button bar view which was causing the problem. later after i use UICollectionView and initialized class as ButtonBarView and module as XLPagerTabStrip, Problem fixed.

Swift Two Tab Bars shown and not sure why?

Does anybody know why I might have these stacked tab bar?
I don't see where this would be in any of my view controllers and what code i would even look for. If guidance on what would even generate this would help. It's a fixed bar on the bottom and I'm trying to remove it. I am not sure when it started to show up here anyways. It serves no purpose for me. It also shows up on each of the tabs when I click on each of them.
You are using a searchBar, if you want just one bar you would have to move the searchBar to the top of the screen
hope this helps
I ended up figuring out what I did wrong. At some point, I clicked "shows toolbar" in the navigation controller that was embedded in the tab view controller. When I unchecked this the second toolbar went away.
Thanks for everyones help.

Press Button on ViewController which pushes to TabBarController with UINavigation Bar?

I am currently developing an app that I plan to distribute soon, however I am having trouble with my storyboard configuration. What I want is to have a view which displays 4 buttons on it and when one button is pressed it pushes to a different view with at a TabBar installed on it. I wanted to know how to do this, the app STRAVA has the exact same thing as I want. Do I have to do this programatically and if so how, or should I do this in a Storyboard, and if so how? Any help would be greatly appreciated.
Thanks

UISplitView in iOS 4.2 with Two Views

I'm trying to create a UISplitView like in facebook iphone by using two UIViews on top of one another (iOS 4.2). I've a UINavigationController and when the user clicks on the leftbar button in the UINavigation controller the Top View should slide away and leave the second view. It works fine but the UINavigationController remains in the same position and I would like to slide it also with the TopView so that there is no UINavigationController on the BottomView. Is this possible? I also referred to similar questions in stackoverflow but couldn't find anything related to this particular problem. Appreciate your suggestions on this regard a lot. Thanks in advance.
Have a look at JTRevealSidebarDemo. That is what exactly what you want.
Please let me know if you anything else than this.

Resources