Discussion Forums  >  Uncategorized

Replies: 1    Views: 174

javamobiletech
Lost but trying
Profile
Posts: 4
Reg: Sep 05, 2011
copenhagen
40
11/18/11 04:12 AM (14 years ago)

Custom html + list menu combined in mainmenu

Hi all.... Ex. want a nice slideshow on top of my List Menu items instead.... In cool Buzz - Menu - list - anyone managed to get a custom HTML instead of a header image ???
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/18/11 10:43 AM (14 years ago)
The idea is that you would create a UIWebView to hold the html content then add this webview to the menu list where the header image view is currently being added. In other words, don't add the header image, add the web view you create in code. You'll also end up creating the HTML in code to load into the webview. If you have not already done it, open BT_screen_menuList.m and find where it's adding the headerImage as a subview...this is where you'll begin hacking around a bit and adding your own webview. UIWebView *myWebView = [[UIWebView alloc] intiWithFrame:CGrectMake(left, top, width, height)]; [self.view addSubview:myWebView]; left / top / width / height of course would be the sizes of the webview. For sure the UIWebView that you create has tons of complexiities...like how it behaves, what it loads, etc, etc, That's a start.
 

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.