Discussion Forums  >  Uncategorized

Replies: 2    Views: 364

LionArch007
Aspiring developer
Profile
Posts: 9
Reg: Jan 30, 2011
ABQ, NM
90
04/26/11 10:40 AM (14 years ago)

My Home Screen Menu doens't reflect App Control Panel

I've created an app in the App Control Panel and added all the images in the BT_Images folder in XCode. Everything runs fine, but when I do a Clean and Recompile the app it loads as a blank app without any of the images. The background images are gone and the NavBar title is the default My Home Screen Menu title. None of my other apps do that. I have to refresh to get the images to load. I have a feeling that when Apple reviews my app they'll initially reject it because of it not functioning as advertised and worst yet, I'm afraid the end-user won't know they have to hit the Refresh button to load the images. Is there a line of code I can tweak to get it to load properly? Maybe something in the BT_config.txt file? PS - I downloaded the iOS project last night.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/26/11 11:47 AM (14 years ago)
Yup..this isn't good and it's good that you're looking into it before submtting. Does your app have a dataURL in the configuration file? If you're app is not loading any images BEFORE you refresh, it's either: a) The images have not been added to the Xcode project properly. You need to 'add items' to the xcode project, not just drag them into the folder you download. Hope this makes sense. Also, look at the console when you launch the app, before refreshing. It will show you where it is looking for the images and whether it can find them or not. b) The BT_config.txt file in the Xcode project is pointing to images at URL's and not images in the project.
 
LionArch007
Aspiring developer
Profile
Posts: 9
Reg: Jan 30, 2011
ABQ, NM
90
like
04/26/11 02:07 PM (14 years ago)
Problem solved. I just redownloaded the XCode project and added everything back into (the images, documents, videos, and MP3s) the project. I also added a bit of code to the appDelegate.m file so the app plays an MP3 when the app launches. It's a nice lil extra for the end-user. I appreciate your help with this. You are a genius and BuzzTouch freakin rocks!
 

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.