Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 75

xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
12/02/13 04:35 PM (11 years ago)

Strange issue with Change Back Button to say Name of last screen

Hi, I'm using Kittsy's "Change Back Button to say Name of last screen" code snippet and it works fine but for one strange problem. http://www.buzztouch.com/forum/thread.php?tid=CAD61AEEBC59230C26EEB5A&currentPage=2 The back button shows the correct back title if I am navigating down: eg. Home -> Courses -> Microsoft -> SharePoint for eg. each of those screens will show the upper screen as its back button name. However, once I head back up, I run into the problem where the back button keeps the name of the last screen eg in the case above, I will navigate back up to Microsoft but the back button will say "Microsoft" instead of courses. If I press the "Microsoft" back button it will go up to Courses again which should show Home as the back button but it will still show "Microsoft". So the button works as normal, just the title doesn't seem to change which can be a bit confusing for users. Has anyone had this problem or know what it could be? - iOS - BT2.18 If anything is unclear I can video cap what I describe above or you can see it in my app if you want to download it https://itunes.apple.com/au/app/ddls/id734217541?mt=8 Thanks!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/02/13 08:53 PM (11 years ago)
I am on iOS 7, my experience with your app is that the upper-left button remains as Home on every screen. The app is gorgeous! I love the splash screen and the Home screen. Nice consistent use of the green crayon throughout. For the Home screen, did you use a background image for each row that has a soft gradient, hairline between icon and title and the green triangle? Or did you construct that a different way? Nice work! -- Niraj
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/02/13 09:07 PM (11 years ago)
I'm on iOS7 too and I see it for eg. on the Events & Seminars screen. If you click on to Events (from Home) it says Home for the back button. Drill down into a seminar, back button now says Events & Seminars, which is right. However, if you click that button it goes up 1 level but still says Events & Seminars (when it should really say Home like it did at the beginning). I get this same issue in a few tabs such as locations too. Thanks for the great feedback Niraj! The home screen is actually just rows of images made to look like rows. I started off using rows but found it would be easier to fake the same look through images which would let me customise things more how I wanted.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/02/13 09:54 PM (11 years ago)
Ask Kittsy via a Private Message to take a look at this posting.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/03/13 05:18 AM (11 years ago)
Ah well that ddin't go to plan when i wrote that I must not have got further than adding 2 screens and then not noticed when I retreated backwards. That code did this push screen change back button to previousscreen nickname. that works going up and down once. when you go up again screen 1 => screen 2 => screen 3 going back screen 2 => screen 1 no back screen 1 => screen 2 screen 3 no back because technically according to that method the last screen was screen 3. Would need to set up an array that creates the file structure shouldn't be to hard, maybe a little procrastination later on
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/03/13 05:18 AM (11 years ago)
The formatings a bit goosed lol
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/03/13 03:25 PM (11 years ago)
Thanks for checking this out Kittsy. Assuming I can't just duplicate a line to get it to drop 1-2 more levels?
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/09/13 10:29 PM (11 years ago)
Hi Kittsy, Did you have a chance to think about this? If you can point me in the right direction hopefully I can work it out. Thanks! :)
 

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.