Discussion Forums  >  BT.com Website, Account Questions

Replies: 7    Views: 112

richardemery839
Aspiring developer
Profile
Posts: 258
Reg: May 15, 2013
Bangkok
9,480
06/02/13 12:53 AM (8 years ago)

Back button and title missing

It looks like I may have done something to my code in the master menu and items with image menu - both have lost the back button and title when I tap to them. The simulator is then stuck on the page with just a navigation bar & no title or back button. Is there somewhere I can 'reload'a master copy?
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/02/13 01:08 AM (8 years ago)
Just download your project and drag those plugins' .m file into your Xcode, replacing the faulty ones
 
richardemery839
Aspiring developer
Profile
Posts: 258
Reg: May 15, 2013
Bangkok
9,480
like
06/02/13 01:45 AM (8 years ago)
Hi Trouty. Thanks for the message. I just tried that and deleted the Xcode menu.m file and replaced it with the BT_menu.m - the simulator built ok but the problem remains.
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/02/13 02:01 AM (8 years ago)
Have u checked the screens in buzztouch - text colors, background colours, home page?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
06/02/13 03:44 AM (8 years ago)
Hi,

I think it's not the Bt_menu you should replace. You should replace the menu you are using in the plugins folder.

Hope it helps.

Best regards
Danny
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/02/13 03:46 AM (8 years ago)
1) Like trouty said, easiest is to (if you haven't made too many modifications) trash your current copy and unarchive another copy. Remember you'll have to do all the bundleId changes and provisioning stuff again too.

2) If you've made a lot of modifications in other areas, you can unarchive a copy to another location, and just replace the 'errant' plugin code with a fresh copy.

3) Just in case things got a little mucky, you may also want to try to 'clean' the project.

Menu "product" > "clean"

I don't have all the experience in the world, but the times I have experienced that kind of behavior, either my class files weren't correct in all files, or I messed up my 'ViewWillAppear' code, which the first few (pertinent) lines can be found in all plugins without editing (provided you get it all from the same application).

Good Luck!

Cheers!

-- Smug

Edit: the line you're looking for in 'ViewWillAppear' is


[BT_viewUtilities configureBackgroundAndNavBar:self theScreenData:[self screenData]];

If it's there, and you're not getting any bar or navi buttons, then your screen data must be hosed; check those methods.
 
richardemery839
Aspiring developer
Profile
Posts: 258
Reg: May 15, 2013
Bangkok
9,480
like
06/02/13 05:04 AM (8 years ago)
Hi Smug. I have only been using the menus for a short while and I think trashing them and getting new copies sounds the best idea. I have just tried deleting them and am having some difficulty - no surprise - any suggestions on how to do it?
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2942
Reg: Jul 11, 2012
Cerritos
37,920
like
06/02/13 07:39 AM (8 years ago)
Start over. Get the zip from your BuzzTouch.com account.

Go slow and test often as you make changes. :-)

-- Niraj
 

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.