I have installed the new 3.0 SDK, but when I start up Xcode, I don't see an option to build for "Device - iPhone OS 3.0" or "Simulator - iPhone OS 3.0"
The Xcode About box says I am running: 3.1.2
Is there something else I have to do?
...
I recently upgraded to iPhone Simulator 3.0, and when I do a two-finger scroll on a div (in Safari or UIWebView), it no longer works.
To do a two-finger scroll in iPhone simulator, hold option to get two fingers, hold shift to lock the fingers in place relative to eachother, and then click and drag the div.
You can try scrolling the ex...
i have problem with autorotate on iphone
i set up in all classes
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
but it is not respond ;/
Sample code is: http://b6.s3.p.quickshareit.com/files/testautorotatec...
i have added a splash screen to my application by adding Default.png.
the splash screen works fine in the simulator but not showing on real device
...
We have an iphone device in our company and for the remote demo purpose I have to show some of the device specific features like voice call, accelerometer etc. (which is not possible on a iphone simulator), from a mac / windows system. Is there any way to render the device screens on mac /windows machine?
Advance Thanks,
Sathish
...
I have a SQLite DB that I'm using to store app data, and I could do with taking a look inside it to debug a problem I'm having - but where does the iPhone Simulator store its data, typically?
...
I have an application which has two kinds of sounds:
1. Background sounds, looping forever till next view.
2. Sounds clips that could be played separately or all in one go.
Previously i tried using AVAudioPlayer but there was always a very little silence interval between two clips (to which i didn't find any solution, if you have one, p...
Good day.
This is not really a programming question, but i think there is people here that are the ideal for the question i have to ask.
I see all day long question about "programming for iphone", and now i'm curious, and i want to try some too.
For that i need a Mac OS X, no question about it.. But i have a problem i don't have a Mac...
I have found several snippets of code describing how to write data to a user's application Documents folder. However, when I try this out in the iPhone simulator, no files get created. I called
[NSFileManager isWritbleAtPath:<my document folder>]
and it returned 0 (false). Do I need to make this folder explicitly writable, and if so,...
Here is the code:
-(void)stop
{
NSLog(@"Disposing Sounds");
AudioServicesDisposeSystemSoundID (soundID);
//AudioServicesRemoveSystemSoundCompletion (soundID);
}
static void completionCallback (SystemSoundID mySSID, void* myself) {
NSLog(@"completion Callback");
}
- (void) playall: (id) sender {
[self stop];
A...
i developed one application for iphone. after i build i got .app file in build folder
my application name is Myapp, then i got Myapp.app file in the build folder.
my problem is i want to create the .ipa file.. how is that.. it is for to install
jailbraked iPhone..
thanx and regards...
...
I initialize an AVAudioPlayer instance:
NSString* path = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"wav"];
AVAudioPlayer* player =[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:nil]; //Returned object not nil, indicating that the file has loaded successfully
BOOL b = [player prepareToPlay];...
i write some image files in to iphone document folder. then i have to retrieve that files name in an array. please post some code.
...
I want to test the Voice Control feature of iPhone 3GS through the simulator. But I don't seem to get the simulator for 3GS. Where can I get one..?
...
When programming and looking at all different apps I have realized that some apps in the app store don't have the lit highlight on the top, making it look more 3D. I have an app idea but I need to take the highlight off. The app have been programmed in Xcode, so if anyone answers, that would be great. Thanks!
...
I'm using a trick to get gradient on my table cells.
After I upgraded to the iPhone 3.0 SDK i noticed that the gradient highlighting, when I select a cell, no longer works.
iPhone 2.2.1
iPhone 3.0
Here's the gradient code:
- (void)drawContentView:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
UIColor *tex...
OS X 10.5.7 (genuine Mac)
Xcode 3.1.3
iPhone SDK 3.0
When I try to execute my iPhone application in simulator, I get the dreaded error message:
Failed to launch simulated application: Unknown error.
My application has two targets, but this error occurs on both of them.
When error occurs, the simulatoed OS hangs it displays blac...
Hi,
I have an iPhone localization problem that has me perplexed. I was localizing my app and had English as well as simplified and traditional Chinese working fine. I have two files, Localizable.strings and sounds.plist which have been localized. Strings in both files appeared correctly on the device and emulator.
Now yesterday I am ad...
Hi,
I'm making my first iPhone app. I could solve most of my problems browsing stackoverflow and apple's doc. But now I'm stuck. it's probably a stupidity, but I don't find it.
When I start my app on the emulator using [x]-r I don't have problems.
But after my aplication go in the background (close?) because user press the home button...
I am working on an iPhone app which is using an external library for which I have the source. During debugging some of the objects are listed as 0x0 in the debugger but the app runs fine. Also, some of the objects addresses point to the wrong thing.
These symbols are in the external library. The addresses are fine if I am tracing throug...