Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 116

Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
10/01/13 12:25 PM (10 years ago)

iOS7 menus clearColor issue - FIX

I KNOW for sure this works for BTA Design Menu, but I'll assume it will work in other places too. Was about to give up, when I figured this out!! yeay...I'm learning finally. --- in bta_design_menu.m around line 519, add the following: [cell setBackgroundColor:[UIColor clearColor]]; so final edit looks like: //custom background view. Must be done here so we can retain the "round" corners if this is a round table //this method refers to this screen's "listRowBackgroundColor" and it's position in the tap. Top and //bottom rows may need to be rounded if this is screen uses "listStyle":"round" [cell setBackgroundView:[BT_viewUtilities getCellBackgroundForListRow:[self screenData] theIndexPath:indexPath numRows:[self.menuItems count]]]; [cell setBackgroundColor:[UIColor clearColor]]; //return return cell; ------
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/01/13 12:29 PM (10 years ago)
Hi Uelsimon, Thanks for the update and I'm glad you found it! These things and more will all be solved when the new Buzztouch ios update will be alive. Best Regards, Danny
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
10/01/13 12:32 PM (10 years ago)
Ya...I'm pulling my hair out waiting... but enjoying the problem solving in the meantime. maybe once thats done I'll look into setting up my self host finally. I need to get on the early beta review team for that kinda stuff...
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
10/01/13 12:33 PM (10 years ago)
will the ability to change the color of the font in the navbar and status bar also be included in 3.0?
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
10/01/13 02:01 PM (10 years ago)
I am pulling my hair out waiting, my client is pulling my hair out waiting... Thanks for the fix @Uelsimon! Farcat
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
10/01/13 02:03 PM (10 years ago)
We're all going bald!!! :) Walter White style!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
10/13/13 04:32 PM (10 years ago)
Uelsimon you saved me from pulling MY hairs lol. I used this with the simple menu. Just in case others have the same issue. I just popped your code to line 341: [cell setBackgroundColor:[UIColor clearColor]]; Thanks!!
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
10/13/13 04:35 PM (10 years ago)
woohoo! noiceee
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/04/13 10:19 AM (10 years ago)
I was poking around trying to apply this fix for clear rows in Menu with Image plugin, and couldn't get it working. Any advice on what code to use?. Tried using the above code in a couple of spots without success.
 
MrT
Aspiring developer
Profile
Posts: 81
Reg: Jan 21, 2013
Dallas
3,010
like
12/27/13 10:55 AM (10 years ago)
OK, how does this affect an app that is already live at the appstore? Does it update automatically or do I have to update with iTunes?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
12/27/13 11:21 AM (10 years ago)
Hi MrT, every modification you make in the (source)code of your app is not directly seen in a live app. It is only visible once you send an update to the appStore or Google Play. Hope this helps. Best Regards, Danny
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
03/11/14 09:01 AM (10 years ago)
Yep, it works on simple menu as well. Add it around line 336 of the BT_screen_menuSimple.m 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.