I am trying to use:
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)annotationView didChangeDragState:(MKAnnotationViewDragState)newState fromOldState:(MKAnnotationViewDragState)oldState
And was getting errors when building this for the iPad, but I have since realised that it is iOS 4 specific, so it won't work ...
I'm having trouble writing a IPhone/IOS Obj-C SOAP client that talks to an application with a SOAP WS interface. The application uses a NuSOAP php webserver and encodes any payload above a certain size using gzip/deflate, whichever is enabled by the client.
I understand that NSURLConnection transparently decompresses any gzip encoded re...
I have searched all over Apples website and the internet as well as Stackoverflow. Does anyone have any sample code or a tutorial of how I can record audio from the built in mic, and then export that audio via email? Please, I really need it for my app. Could someone email me sample code to henryfbemail(at)gmail.com Thanks a million!
I ...
I declare "int x" in view A and in view B but occur below error Why?
Duplicate symbol -X in...
...
Hello!
I've downloaded the latest SDK from developer.apple.com and can only pick 3.2 or 4.1 from Project > Properties > Base SDK.
My iPhone is 4.1
My client have iPhone 3.x
You feel the problem...
How can I debug for iOS 3.x in xcode with the 4.1 SDK installed?
...
I have a recursive-descent tree object. I want to be able to set a breakpoint and inspect it in the Xcode debugger. Inspecting the top level works just fine. But after I go down a level or so, the debugger says the values of the ivars are out of scope. Is there any way I can keep this from happening?
EDIT:
In response to a comment ...
I've written a PyObjC application that depends on the Python paramiko (ssh) library. Is there a way that I can add the third-party library to my application so that users do not need to sudo easy_install paramiko before running the application?
I can see that it is possible to add the python framework to my project, but I don't think t...
I'm querying rows from my sqlite database using Fetch and loading the results into a NSMutableArray myDataArray. What I want to do is to store the values in myDataArray into my application's preferences plist file. But when I run the code below I get the following error:
[NSUserDefaults setObject:forKey:]: Attempt to insert non-property...
Hi all,
I need to remove all objects from a NSMutable Array. I can't seem to do this by enumerating as the code crashes.
Can anyone tell me the best way to do this with code example if possible ?
Many thanks,
Martin
...
I'm using an AVAudioPlayer to manage some sounds but the isPlaying method seems to be crashing.
done when I initiate the page:
self.soundClass = [AVAudioPlayer alloc];
how I play the sound:
-(void)playSound:(NSString *)fileName:(NSString *)fileExt {
if ( [self.soundClass isPlaying] ){
[self.soundClass pause];
}
...
Hi,
I am working on a project using iOS3.2 SDK and also want to test my app in iOS4.2 beta.
So I installed Xcode and 4.2 SDK but it replaces previous Xcode installation. Up until now it was ok since I was not busy with these two things. But now I need both.
How Do I change Xcode (with iOS SDK 4.2) install destination?
I was expecting ...
Wow... look at all the "panic stories" online this week regarding using an iPhone's UDID.
[[UIDevice currentDevice] uniqueIdentifier]
What SHOULD we be using instead?
What if the phone is sold to another user... and an app has stored some data on a remote server, based on the phone's UDID?
(Of course, I want to avoid the problems w...
I am working on my first core data iPhone application. I am using a navigation controller, and the root view controller displays 4 rows. Clicking the first row takes me to a second table view controller. However, when I click the back button, repeat the row tap, click the back button again, and tap the row a third time, I get an error....
I am fairly new with Xcode and Interface builder. I am running into a bit of trouble while trying to make a simple app that will create an email with several properties. All I want it to do is to take the email entered in the form and put it in the "TO:" field. Everything else in my code seems to work fine, it's just getting what is ente...
Hi all,
Apologies for the long post and I hope it makes some sense to someone out there.
I have written an iPhone game (in Quartz 2d) which uses the following structure :
App delegate loads a view controller called gameviewcontroller and its associated view
In the "View did load" method, the gameviewcontroller starts up and initiates...
I'm performing testing on several iOS apps on a range of devices and iOS versions (iPhone, Touch, iPad, iOS 3.1.3, 4.0.2, 4.1).
I have Xcode v3.2.4 installed, primarily so I can get logs and console output to attach to bugs.
We recently noticed that my symbolicated logs are just the non-sybolicated logs with extra spaces inserted betwe...
I want to send email from my application. How can i send it.
...
Hi,
I want to apply this workaround but I cannot find the "Run Script" setting, property, flag?
I can see it in the temporary script file that is created on build.
BR
...
I want to use components and functionality from an external project in a new iPhone project.
I am able to add external projects using "Add >> Existing Files...". At build time however, resources such as images are not copied into the build from the external project, however the .h and .m files are. Do I need to add something specific to...
I'm trying to automate the process of building iphone apps with a particular certificate. So imagine if different users uploaded their cert into the system and it was immediately available to code sign against. I want to do this without any interaction. I also don't want to clutter up the system or logon keychain with different user cert...