Discussion Forums  >  Status Bar, Navigation Bar

Replies: 5    Views: 167

Tyroner
Aspiring developer
Profile
Posts: 174
Reg: Dec 26, 2012
Johannesburg, S...
4,190
04/11/14 12:24 AM (5 years ago)

Nav Bar back text

I would like to remove the text accompanying the back button in iOS7. Currently you have the back icon "<" and then text "back" or the name of the screen it goes back to. I would like to remove the text next to the button so that I have more space for my heading text of the screen. Anything posted on this previously? Thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/11/14 03:57 AM (5 years ago)
 
Tyroner
Aspiring developer
Profile
Posts: 174
Reg: Dec 26, 2012
Johannesburg, S...
4,190
like
04/11/14 04:51 AM (5 years ago)
Thanks Smug! Check it out but I'm still a bit lost here as I'm a beginner with Objective-C!
Paddy says following in his post:

"It needs to be placed in the view controller of the FIRST screen to get it to work. I put it in just before the app delegate methods down near the bottom of the file."

I'm not sure where exactly in Xcode it must go.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/11/14 05:48 PM (5 years ago)
First Screen = Home Screen.

Try it out in the viewWillAppear…

Cheers!

-- Smug
 
Tyroner
Aspiring developer
Profile
Posts: 174
Reg: Dec 26, 2012
Johannesburg, S...
4,190
like
04/13/14 11:55 PM (5 years ago)
Thanks Smug! Worked like a dream!
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/11/15 02:15 AM (4 years ago)
This worked well. I am not a coder and i figured it out. I learnt something today. Thanks heaps for that.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.