Discussion Forums  >  Uncategorized

Replies: 4    Views: 197

stuxll
Apple Fan
Profile
Posts: 6
Reg: Jun 30, 2011
brisbane
260
07/21/11 11:05 PM (14 years ago)

Menu Options

I'm using v1.5 to make my app but i was wondering if there is any way to get the menu structure in v1.4 i.e. header pic static with the scolling menu
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
07/21/11 11:59 PM (14 years ago)
Yep, you can do this...but the image scrolls upwards along with the menu. In v1.5, in Advanced Properties of a Menu-List screen, just select the Header Image sections and configure to your liking!
 
MSlangen
Aspiring developer
Profile
Posts: 21
Reg: Jul 14, 2011
Netherlands
4,760
like
07/22/11 04:10 AM (14 years ago)
Like GoNorthWest says You can also look the Getting started videos :)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/23/11 01:28 AM (14 years ago)
@ stuxll: Also, if you're asking how to add the image to the menu but prevent it from scrolling with the menu, you can do this with a small adjustment. a) Find BT_screen_menuList.m. Open this and find where the header image is added to the tables header-view. The image moves because it's being added to the header view which is part of the table. b) Change this. Instead of the code adding the image to the tables header view, add the images as a sub-view to the screen. Like [self.view addSubview:headerview]. That is psuedo code, ignore the syntax but understand the idea. c) Because your're now adding the image to the screen, and not the list, you'll need to move the list 'down' so it does not get covered up by the image. Adjsut the table views frame as needed until it's where you want. See this for better details: http://www.buzztouch.com/forum/thread.php?tid=E729FE5BEF477214F5C465A
 
stuxll
Apple Fan
Profile
Posts: 6
Reg: Jun 30, 2011
brisbane
260
like
07/31/11 08:46 PM (14 years ago)
Thanks for your help david :) Couple of things though. Had a look at the other thread and followed the directions ( i think ) but i've got a few problems A) i replaced the line [self.myTableView setTableHeaderView:headerImageView]; with [self.view addSubView:headerImageView] which locks the header image but instead of being centered it's sitting hard to the left of the screen. B) I also replaced the line [self.myTableView setDelegate:self]; with [self.myTableView setFrame:CGRectMake(0, 200, 320, 480)]; which brings the menu down but for some reason the buttons in the menu when pressed don't do anything. I put back the original code and the buttons work again. Once again thanks for your help, if the solution requires a heap of code changes don't worry about it i just redo my app with what is available :)
 

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.