Refers to the iPhone software development kit, version 3.0.
Questions tagged [iphone-sdk-3.0]
2772 questions
1
vote
2 answers
Core Data - removing items
I have a question due to some doubts about some of my code. In an array of NSManagedObject I need to get rid of some of them.
Here is (below) the code I use. I have to say it works, within my range of experience. So my question is more to make sure…

Michel
- 10,303
- 17
- 82
- 179
1
vote
3 answers
Using system Sound to play sounds
Here is the code:
-(void)stop
{
NSLog(@"Disposing Sounds");
AudioServicesDisposeSystemSoundID (soundID);
//AudioServicesRemoveSystemSoundCompletion (soundID);
}
static void completionCallback (SystemSoundID mySSID, void* myself) {
…

Shoaibi
- 859
- 2
- 11
- 23
1
vote
1 answer
Is it possible to embed an inline image in HTML email using MFMailComposeViewController?
Is it possible to embed a reference to an image in an HTML email sent via MFMailComposeViewController on iPhone OS 3.0?
(void)addAttachmentData:(NSData*)attachment mimeType:(NSString*)mimeType fileName:(NSString*)filename
doesn't seem to provide…

David Maymudes
- 5,664
- 31
- 34
1
vote
2 answers
iphone - AVAudioRecorder gives mono playback (sound playing in just one channel)
I am using AVAudioRecorder to record audio and save to a wav file (using SDK 3.0) The settings dictionary contains the following values
NSMutableDictionary *recordSetting = [[NSMutableDictionary alloc] init];
[recordSetting setValue…

lostInTransit
- 70,519
- 61
- 198
- 274
1
vote
1 answer
How to differentiate between annotation pins?
I have three pins on a mapview. I'd like to give each one a different color. In the delegate method viewForAnnotation, I'm doing this:
- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id )…

4thSpace
- 43,672
- 97
- 296
- 475
1
vote
2 answers
Using Finch to play sounds on iphone
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…

Shoaibi
- 859
- 2
- 11
- 23
1
vote
2 answers
Tab bar controller
I have the next question:
In my project I have the next:
UItabbarController
....Some UINAvigationControllers....
*(1) UINavigationController
UIViewController (UItableView) - When select one row it goes to...(by push)
…
pepersview
1
vote
3 answers
Switch between 3 or more views
Im new to iPhone development and I have really taken this to me. I love it, but there is one thing thats naggin' me. How do I keep switching view? I know how to come from first view that is given to me when I create a new project, to a view that I…

mslot
- 4,959
- 9
- 44
- 76
1
vote
3 answers
Tab bar Controller raising NSInternalInconsistencyException
In my SDK 3.0 core data based app, I have a tab bar controller managing 4 tabs. From time to time, apparently randomly, when I launch the app, it crashes with the following message:
Terminating app due to uncaught exception…

Massimo Cafaro
- 25,429
- 15
- 79
- 93
1
vote
1 answer
Which audio format would be the best?
I was using AVAudioPlayer to play multiple audio clips back to back but there was always a small silence between tracks and then i came to know of Finch, a library which uses OpenAL to play audio. with this the silence problem seems to be solved…

Shoaibi
- 859
- 2
- 11
- 23
1
vote
2 answers
Drawing several transformed images using Quartz on the iPhone
I'm trying to figure out how best to accomplish drawing a scene in an iphone app. Here is the situation:
I have a single view that I would like to draw to
I would like to have a background image
I would like to draw several different images on top…

aloo
- 5,331
- 7
- 55
- 94
1
vote
3 answers
Problem with reading user location into coordinates on iPhone
I have a problem what I suppose is rather trivial...
I have coded an app using the mapkit and have done the development on my Mac using the simulator which has no GPS. Therefore did I hard code the coordinates to simulate a user position. Today as I…
eva
1
vote
1 answer
access to reception sensor information with iPhone SDK
Is there a way to programmatically access the reception level sensor with iPhone SDK 3.1?
Thanks,
Nava
Nava Carmon
1
vote
1 answer
Can't release object without crashing
In a tableview cellForRowAtIndexPath, I do the following:
MapViewController *mapView = [[MapViewController alloc] initWithCoordinates:city.Latitude longitude:city.Longitude];
[cell addSubview:mapView.view];
//[mapView release]; -- will crash…

4thSpace
- 43,672
- 97
- 296
- 475
1
vote
1 answer
iPhone - how is data transferred in P2P
I am trying to implement a P2P application. What I try to do is transfer a custom NSObject class's data between the devices. I am not able to figure out when the "receivedData" method is invoked by GKSession.
Here's what I've done
The usual…

lostInTransit
- 70,519
- 61
- 198
- 274