XboxMods
buzztouch Evangelist
Profile
Posts: 718
Reg: Oct 28, 2011
location unknow...
12,080
06/03/13 04:36 PM (12 years ago)

I'm back, New App Coming Soon! Need Your Thoughts!

Hello, I am back and will be here more often and active! I was focusing on school and it is about almost over now, so I think I should come back to program and making apps again and join the awesome community again! I stopped by the forum a few times a week, but did not post anything. Anyways, I am working on a new app for my friend, who is a beatboxer on youtube, and I saw that the Buzztouch Control Panel has been updated! So, this leads me to a few questions, I would like to put the temporary blue boxes as seen in this image: http://gyazo.com/cfaf89ae43111c9f4b80c116d68c6851 on the botton of the screen, and then adjust the header image, to fit the screen, this is going to be a "sound board" app, so I think I may be able to add the ability for the user to record their beats, maybe? Buzztouch has improved a lot since I was last on creating an app, and it will only get better from here! Already more plugins and new BT Members! Thanks, Raoul
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
06/03/13 05:02 PM (12 years ago)
Hey mate, welcome back! @LA has a voice notes plugin in the plugin marketplace, it creates mp3's, maybe that could be useful for beatbox recording? Android: https://www.buzztouch.com/plugins/plugin.php?pid=1C1E87F320F759911B091E5 or @MrDavids iOS plugin: https://www.buzztouch.com/plugins/plugin.php?pid=9456B663B1AB2367BC604C7
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/03/13 05:05 PM (12 years ago)
Hey, welcome back! Not sure about the header image, but this is the code I use to customize the button menu layout - First of all, put this line of code at the top of your BT_screen_menuButtons.m, directly below the @synthesize statements - #define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON ) Then scroll down to the -(void)layoutScreen method (around line 380) Inside that method you will find all of the code for the different layouts (grid, vertical left, vertical right, etc.) Find the block of code for the grid layout - it will start with this line - //grid if([buttonLayoutStyle isEqualToString:@"grid"] || [buttonLayoutStyle isEqualToString:@""]){ Highlight from where it says "//grid" up to where it says "//vertical left" and paste the following block of code over the highlighted one -- //grid if([buttonLayoutStyle isEqualToString:@"grid"] || [buttonLayoutStyle isEqualToString:@""]){ contentWidth = deviceWidth; contentHeight = ((boxHeight + labelHeight) * (numButtons + 10)) / buttonsPerRow - (deviceHeight * 1.5); if(contentHeight < deviceHeight) contentHeight = (deviceHeight + 50); //landscape or portrait...tabbed or not... if(UIInterfaceOrientationIsPortrait(self.interfaceOrientation)){ if([appDelegate.rootApp.rootDevice isIPad]) //Customize iPad layout here {self.myScrollView.frame = CGRectMake(140, 22, deviceWidth, deviceHeight);} else if (IS_IPHONE_5) { //Customize iPhone 5 layout here self.myScrollView.frame = CGRectMake(58, 61, deviceWidth, deviceHeight); } else { //Customize regular (3.5 inch) layout here self.myScrollView.frame = CGRectMake(58, 23, deviceWidth, deviceHeight); } self.myScrollView.contentSize = CGSizeMake(contentWidth, contentHeight); }else{ //Customize iPad landscape layout here self.myScrollView.frame = CGRectMake(48, 110, deviceWidth, 1000); } } So, once you have that code pasted in Xcode, you can adjust the specific layout by messing around with the blue number values. I can't say specifically which numbers are gonna work for you, but if you play around with them for a bit I'm sure you'll figure it out. You'll see that I've made notes above each line of code regarding what it is controlling - there is a separate line for the iPhone 5, the regular iPhone, the iPad, and the iPad in landscape hopefully that helps
 
XboxMods
buzztouch Evangelist
Profile
Posts: 718
Reg: Oct 28, 2011
location unknow...
12,080
like
06/03/13 05:25 PM (12 years ago)
Thank you! I got it to work, also, for iAds, I do not see the option for Menu Buttons, however can I still add it in by Xcode?
 

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.