Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 57

Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
04/15/12 03:35 PM (13 years ago)

menu identifier change to icon in 2.0 iOS

I would like to change the arrow identifier in my simple menu in a 2.0 app to an icon. I can't seem to find where in the code the arrow is located? I can't even locate the images of the identifiers? Has anyone changed this?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/15/12 03:51 PM (13 years ago)
Hi Crown Solutions, Have a look at BT_screen_menuListSimple.m at line 332: cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; Delete this line or comment it like this (//) //cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; and add following: UIImageView *imageView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"plus.png"]] autorelease]; cell.accessoryView = imageView; As you can see I added an image called plus.png Change it to whatever imagename you like to use and import/copy that image in your (xcode) project. Hope this helps. Best Regards, Danny PS remember that this edit doesn't allow you to update/change your icon from the BT-server backend anymore. The image you use will be used for every menu you create.
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
04/15/12 04:16 PM (13 years ago)
Worked Perfectly! Thanks!!
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/15/12 04:18 PM (13 years ago)
Hi Crown Solutions, You're welcome. Glad I could help. Best Regards, Danny
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
04/15/12 04:34 PM (13 years ago)
I guess I do have another question. I am using the BT 1.5 quiz in this 2.0 app, but I can't get the sound to work with a correct answer, and I do not get the star with the point total when I get a correct answer either? For the sound I used the right.aif from a different app as a selection in my control panel, and input the sound file into my Xcode project under BT_Sound Cant figure out why this would not work? Thanks, Jim
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
04/15/12 04:59 PM (13 years ago)
Found I didn't have the gold star image in the project, that is why that didn't work, still working on the sound?
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
04/16/12 08:18 PM (13 years ago)
Great tip Danny. Thanks.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/17/12 01:06 AM (13 years ago)
Hi MGoBlue, Glad I could also help a pro.... Best Regards, Danny
 

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.