Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 57

Otatech
Code is Art
Profile
Posts: 80
Reg: Jul 18, 2012
Rome
800
03/12/13 12:55 PM (12 years ago)

xib_button_menu - web page as background?

Hi, I'm testing the wonderful plugin xib_button_menu. I'd like to use a web page as a background or as a part of the screen. I've seen that it's possible to use a "web view". I haven't understood where to put the address of the web page . Thanx in advance for the help.
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
03/12/13 01:29 PM (12 years ago)
Otatech, I am by no means an expert on objective-c or xib files. I learned enough to make this plugin, and a little bit more than that, but not much. What I can tell you is that every action/method must be defined in the .h and .m files. If you wanted to simply add some text or perhaps a picture that doesn't do anything, then no problem. Just drag it on there. On the other hand, if you wanted to add a button that does something other than load a Buzztouch screen, or add a webview, then you have some work cut out for you. It's not as simple as just entering the web address somewhere. If you really want to go that route, start by watching the below video on creating a plugin by david... he goes into xib files towards the end. I'll help if I can. http://www.youtube.com/watch?v=OJrMVTn8z0s Josh
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/12/13 04:37 PM (12 years ago)
It's not too tricky, you would remove the uiimageview from the nib add a uiwebview in its place and add some code in the .h and .m then connect to the files owner in the nib. I'll grab you the code when I get a chance.
 

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.