iphone

crash report solving?

hi, i used the utility symbolicatecrash as mentioned in tutorial .. $ symbolicatecrash report.crash MobileLines.app.dSYM > report-with-symbols.crash it produces report with symbols, as i am new to this,how can i use this report to solve the crash?any help please? ...

How to handle drag events on iphone and ipad with javascript/jquery?

Hey, I have a little app that has been under development for some time. My friends and I have been working really hard on this and are near release of the beta version. I want to give some demos using iPhone and iPad to look cool :p Now my problem is how to handle: Mouse Down Mouse Up Mouse Leave The multitouch interface of the iP...

Iphone checking subfolder existence, if exist delele subfolder, else and create subfolder

Hi, I'm new in Iphone programing, I need code to: check if a specific target subfolder exist in the document folder ? if target subfolder exist in document folder, I want to delete target subfolder if target subfolder does not exist in document folder, I want to create target subfolder in document folder Thank's in advance for your h...

Double Tap inside UIScrollView to Another View

I want to preface this question with the fact I am new to the iphone application development and many times believe I may be over my head. I am trying to find an action that will allow me to double tap anywhere within my full screen UIScrollView to return to my main menu (MainMenuViewController). I currently have the following code runn...

Detect when I scroll my UIWebView at top of the page

Hello I would like to add an URL/google bar on top of my webview, and access it by scrolling up my web page exactly as Safari do. To do this, I would detect when the user is scrolling the page, and more over when the scroll reaches the top. But I really don't know how. An idea ? Thanx a lot. Martin ...

NSTimer with delegate method

I'm trying to set up an NSTimer on a delegate - I'm so very new to objective-c so apologies if this doesn't make much sense. But what I have written is: animationTimer = [NSTimer scheduledTimerWithTimeInterval:(NSTimeInterval)((1.0 / 60.0) * animationFrameInterval) target:self.delegate selector:@selector(drawView) userInfo:nil repeats:T...

How can I draw rotated text without being limited to the MacRoman character set?

Hey folks, My blog has been mentioned here before as an answer to questions. I can't link to one of them, because this form claims I'm a spammer. Sigh. Anyway, now I want to write the definitive blog post on drawing rotated text, so it can also be used for answers here (heh). Here is my first try: http://www.platinumball.net/blog/2009/...

How do I create an xcode project with multiple targets for different platforms (iPhone & Mac OS X)?

I have written a couple Core Data iPhone apps and I've run into a consistent problem that I would expect to be a common pattern for iPhone development. Namely, I have one or more command line data loaders to create the Core Data database and then I have my iPhone app. Since the model files are shared and the loaders are a integral part...

Internet reachability with iphone

I need to restart a download automatically when a connection goes down and then comes back up. Actually I'm using the Reachability class example from Apple but I have a problem when the switch down and up wi-fi application restarts the download, but this does not happen if I have wi-fi but not an internet connection. To do this I check...

Why isn't removeFromSuperview hiding my UIView in my iPhone application?

I'm new to iPhone development and am having problems removing a sub-view from the main window. The problem is that the view still shows up even after calling removeFromSuperview. The sub-view is created and added to the display tree through this code: // Instantiate the controller for the authentication view AuthenticationController...

ffmpeg audio and the iphone

has anyone been able to make ffmpeg work with audio queues, I get an error when I try to create the queue. ret = avcodec_open(enc, codec); if (ret < 0) { NSLog(@"Error: Could not open video decoder: %d", ret); av_close_input_file(avfContext); return; } if (audio_index >= 0) { AudioStreamBasicDescr...

iPhone Core Data does not refresh table

Hi all, I'm trying to write an application with Core Data, and I have been able to successfully read and write to the core data database. However, if I write to the database in one view controller, my other view controllers will not see the change until the app is closed then reopened again. This is really frustrating. I'm not entirely ...

Code solution to prevent production in app purchase from using sandbox?

I have an issue where a live app is using in app purchase. Everything tested well and for the most part seems to be working well in the app sold from iTunes. Recently I have had 2 reported cases of users who cannot use in app purchase in the live app because iTunes is asking them to purchase from the sandbox. The sandbox requires a tes...

iPhone UIWebView weird build problem

This is strange. I have a custom Nib with a webView, all outlets are set properly. On the first "Build and Run", whenever I invoke the nib, it's just a blank white screen with my iPhone status bar at the top. Then, if I click Stop, and Build and Go again (without making any code changes) and I invoke the nib, I get my Nib from Interfa...

Abstracting NSManagedObject and NSDictionary

In my project I have some objects that I show from a server, lets call them Foo's. When I get my Foo feed, I parse them into a NSMutableDictionary subclass called RemoteFoo, and pass these RemoteFoo objects all around the app to display data. If the user ends up wanting to download a RemoteFoo, I then create a core-data NSManagedObject...

how do i launch the iphone sms text application in objective-c via the sms: url scheme?

I have a button in my obj-c application that I would like to launch the iphone text application when a button is pressed. i've looked at the solution here http://stackoverflow.com/questions/2011139/how-to-use-iphone-custom-url-schemes and have attached an action to my button (via the 'touch up inside' event), but the text app doesn't l...

iphone NSURLConnection NSTimer works in initWithRequest but causes unrecognized selector error in sendSynchronousRequest

Hi, I need to use an NSTimer to cancel my NSURLRequest before 75 seconds (the time I measured regardless of the timeout I set). I'm using the XMLRPC classes by Eric Czarny. The XMLRPCConnection is basically an image of the NSURLConnection class. Here's the interface and the implementation file: #import <Foundation/Foundation.h> @clas...

UITextView does not respect the secureTextEntry property

I'm trying to get a UITextView (NOT a UITextField) to act as a password field where the text is obfuscated as you type into it. However, setting this property to YES on a UITextView seems to have no effect and the letters are always visible instead of only being visible if it's the last letter typed and a dot otherwise. Has anyone else...

How long does it take to learn objective c/iPhone sdk coming from an object oriented PHP background?

I know it's not an easy question to answer, but a client of mine came to me and asked if I'd be interested in a "get paid to learn objective-c and iPhone development" project before they go to another developer. I come from a a web background and my primary languages is PHP. I consider myself to be at expert level. I develop using Zend...

[iPhone] ASIHTTPRequest, EXC_BAD_ACCESS when request did finished

Hi, I'm trying to do an asynchronous request with ASIHTTPRequest, but have some problem getting notified when the request is done. -(void)doDownload{ NSURL *url = [NSURL URLWithString:@"http://www.someurl.com/?"]; ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url]; [request setPostValue:@"someValue" forKe...