Hi guys
I have a question, I can't get my sqlite database to work/open on an ipad device. Everything works fine on the simulator but not a real device. I put MODE to NO when i want to test on a device but it fails to load.
sqlite3 *database;
if (MODE) { //Simulator
result = sqlite3_open("/Users/userID/Myapp/VRdb.sqlite", &datab...
Hey guys, I'm currently testing my app by adding the setting bundle into my program but the program I'm facing now is when I test my app on my device, I go to the Setting screen and I couldn't found the setting of my app. If I test it on the iPhone simulator then I can find the app's setting in setting menu.
May I know what happens? Ho...
I'm watching a WWDC video (session 105) that's talking about multitasking with iOS 4. Something interesting was just mentioned:
"any GPU usage while your app is in
either of the background states
results in automatic termination of
the app. This includes any calls to OpenGL."
How does one handle this "requirement" if the ...
hi guys,
i'm new as an iphone developer, as a hobby i'm writting a small game (just for fun).
i would like to store the default configuration inside a xml file. I have the xml file, I know about how to parse the xml document, but.. what i do not know, and that's why i'm here is:
is there a way to say to Xcode: imagine this (xml) file ...
Hi everyone
I have a very weird situation, check out the snippet below which launches a ModelViewController for an iPad application:
// Load GuestDetailController
GuestDetailController *detaileController = [[GuestDetailController alloc] init];
if (searching) {
// some code, but nothing relevant to the issue (checked that already)
} ...
Hi
I am moving my 3.x app to use iOS4 features like background processing, fast-app switching. I have been able to get the app running fine. But now whenever I launch the app on the simulator, it just shows a black screen. The app launches, status in XCode changes to running but nothing shows up other than the black screen.
The app run...
I have disabled location services on the simulator with the "Don't ask again" option set, thinking that I could re-enable it later, but now I can't find out how.
Can someone point me out where to change this setting?
Thanks.
...
Can't figure it out. I have tried AppPrefs sample app a few months back, on XCode 3.2.2 and it worked fine in the simulator. Now I need to look at that sample again (XCode 3.2.3) and the pull-down menu only shows "Device" as the available option. My other projects show both the device and the simulator and can run on either.
I tried ge...
I need to create an app that plays a video on the iPad. Is there a way that I can put an FLV (or any other files for that matter)on the iPad simulator so that I can test the app that will open the video file?
Thanks,
Mike
...
Hi, everyone,
I want to ask a question about the iPhone simulator on Mac. I am using the 3.1.3 iPhone simulator and I create a tab bar by using pro grammatically method. After created the tab bar, I found that it don't switch to another tab when I click the text in the tab bar. However, it works when I click the space or icon? Is the f...
hi
i am new in iphone developement an i want to implement locationmanager for finding current location and also if user input the start and end point and he/she wants the total distance between them.any one plz tell me how we implement..
thanks in advance..
...
My problem is that when ever the iPhone has to push a view (like the keyboard) it takes a really long time (15+ seconds).
I never used to have this problem with the simulator, but after I updated xcode to 3.2.3, the simulator is almost un-usable for anything which requires a keyboard.
For example, on the simulator the springboard app ...
I'm having a bit of a problem testing iAd on the iPhone and on the simulator. The methods that are called when the ad is loaded or failed don't seem to be called when testing and Apple doesn't want apps to show empty frames when there are no ads to display.
Basically, what I did was to hide the AdView and show it only when the bannerVie...
1 while running, data is not showing in views after Inserting/Updating in sqlite3 databse.How do i refresh database??
2 in xcode where do i close my database??
...
HI
I have developed the application on with sqlite Database .when i run the application in simulator it works perfect but when i tested with device application gets crashes.
this is my code
* Assertion failure in -[sampleProjectAppDelegate copyDatabaseIfNeeded], /Users/xxxx/Desktop/new/sampleProject/Classes/sampleProjectAppDelegate.m:...
Hello
I got some questions on playback music via speaker.
i found an example in the following link
http://stackoverflow.com/questions/1022992/how-to-get-avaudioplayer-output-to-the-speaker
but the question is how to make sure i successfully implemented playing music via "speaker"?
I wrote the code as the link, but it seems no difference ...
Is there any way to simulate CMMotionManager's gyroscope output in the iPhone 4 simulator? CMMotionManager's gyroAvailable seems to indicate that the simulator itself won't do it (which is understandable, given that it doesn't simulate acceleration data either), but I figured someone may have written a simple simulator drop-in for testin...
All I have to do to show a splash screen in a view-based application is drag an image into the resources folder and name it default.png, correct? This is what I did, but the image doesn't show.
...
Every time I switch Xcode between debugging on my iPhone and running in the simulator it resets the simulated device. I want to run the simulator as an iPhone device, but it keeps changing back to iPad. Does anyone know how to set the configuration so that the simulator defaults to an iPhone device?
I can switch the hardware to iPhone i...
Hello All,
I just updated to iPhone SDK4. The problem I am facing is - I was writing an app in iPhone sdk 3.0 just open that project in xcode 3.2.3 made some changes in xib file, now when i run this project in simulator the user interface (xib) appearing blank (with black color).
Any idea why this is happening...?
Thanks
Saurabh
...