iphone

Problem with connecting to twitter from iPhone using OAuth ..

Hi, I am using Oauth to connect to Twitter in my iPhone application.I am getting 18 errors.One of which is ".objc_class_name_OAMutableURLRequest", referenced from: literal-pointer@__OBJC@__cls_refs@OAMutableURLRequest in SA_OAuthTwitterEngine.o Remaining 17 errors are of similar types related to "libOAuth.a" static library.I...

How to play a sound when user touches a particular area on the screen

I am designing an app which consists of an image... I am trying to play sound by using the following code... - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; CGPoint point = [touch locationInView:self.view]; if (CGRectContainsPoint(CGRectMake(320,480,0,0),point));//CGRect...

App Crash: Low Memory

My app crashed because of Low Memory. I'm not sure if its entirely my fault because it lists about 7 or 8 other applications that crashed alongside? How should I handle this? Incident Identifier: 2CC74C33-179F-4CD2-8FAA-00CF0A344749 CrashReporter Key: 1657e021ecba3a19c5ed9f0cff62947a426a2bc2 Hardware Model: iPhone3,1 OS Version: ...

Any other game SDK besides CORONA for the iphone/ipad

Does anyone know of another good game SDK/Engine for the ipad or iphone other than CORONA? ...

Differences in behavior of AVAudioRecorder in iOS 4.1 and iOS3.1.3

hello all, I want to play an audio when someone speaks in the iPhone's mic. This code works perfectly in iPhone 2G(OS 3.1.3), but when it is tested in iPhone 4, it doesnt work. I checked for API and method differences, but could not find any. - (void)viewDidLoad { NSURL *url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/Aud...

obtaining current location in GPS?

Below is my code but its not working. Can anyone help me??? - (void)viewDidLoad { [super viewDidLoad]; CLController = [[CoreLocationController alloc] init]; CLController.delegate = self; //[CLController setDesiredAccuracy:kCLLocationAccuracyBest]; [CLController.locMgr startUpdatingLocation]; } - (void)locationUpdate:(...

Issue escaping single quote in iOS with stringByReplacingOccurrencesOfString:widthString

Hi all, NSString *test = @"d'escape"; NSLog(@"%@", [test stringByReplacingOccurrencesOfString:@"'" withString:@"\'"]); prints me this 2010-10-25 15:10:54.833 MyApp[7136:207] d'escape What am I doing wrong ? I want to get this : 2010-10-25 15:10:54.833 MyApp[7136:207] d\'escape ...

iOS daemons. are they legal for AppStore?

Hello. Can't find out if daemon application can be run on non-jailbroken iPhone. And what is Apple policy about this stuff? I don't really know if my idea is possible at all... I wonder if it's possible to create such a daemon that can intercept outcoming user call and play custom tone signal while remote user does not answer our call. A...

What to do with "invalid binary" in itunes connect

Hi I uploaded my app through the application loader, everything went fine. But then, after 30 min of waiting approval, my app gets rejected everytime with "invalid binary". I don't receive any mail, although I'm supposed to get one with this error message... I build my app in "debug" mode, is that the possible problem ? Thanks ...

How to see saved wireless password, on iPod touch/iPhone?

Is there a way to see, on iPod touch, saved password, for wireless previously used? ...

How to implement text selection shadow as in UIWebView in a custom view

Here is a image that shows how Good Reader does it just like in the Web View. http://d.pr/mco6 My guess is that there is no easy approach for this except add tons of code to touchesBegan, touchesMoved and touchesEnd in the custom view and map location of the string to the offset in the view. (Plus the magnifying glass) Does anyone hav...

Displaying PDF documents on iPad - Color Problems

I've built a PDF reader for the iPad and I've noticed some color problems when doing a side-by-side comparison of the document in preview verus the simulator and device. The best way to describe it is to say that the colors have become more intense. Any discrepancies between similar colors used in close proximity have become more notic...

How do I create an NSURL using non-English characters?

I tried constructing the following NSURL for a custom URL scheme: NSURL *url = [NSURL URLWithString:@"tweetie:///post?message=안녕 모두"]; [[UIApplication sharedApplication] openURL:url]; but it doesn't perform correctly. How would you construct such a URL with non-English elements? ...

Best Method To Create A Very Minimally Interactive Slideshow of Images On iPad

A client of mine wants to show her "listing presentations" (she's a Realtor) to clients on her iPad. A Listing Presentation is normally a slideshow that shows how a Realtor can help the client. She simply wants a slideshow that she can gesture from slide to slide, and perhaps a small button that allows her to email the slide or some inf...

UITextView in a UITableViewCell smooth auto-resize shows and hides keyboard on iPad, but works on iPhone

I have implemented a custom UITableViewCell which includes a UITextView that auto-resizes as the user types, similar to the "Notes" field in the Contacts app. It is working properly on my iPhone, but when I am testing it in the iPad, I am getting some very strange behavior: When you get to the end of a line, the keyboard hides for a mill...

What are the custom URL schemes for TweetDeck and Seesmic?

Does TweetDeck or Seesmic have a custom URL scheme that can be used within an iPhone application? If so, what are the structures of these URL schemes? ...

Stop sound when user push home button

I play a sound in viewDidLoad now when user push home button sound paused.when user run app again sound play from place that paused before.how can i stop it(no pause) when user push home button? ...

Save audio in caf format to wav format

I record audio in .caf format and later need to convert it to .wav in order to send the file as a email attachment. How can I convert the file to wav format in iOS 3.1.x? The format of the audio: [NSNumber numberWithInt:kAudioFormatLinearPCM], AVFormatIDKey, [NSNumber numberWithFloat:11025.0f], AVSampleRateKey, [NSNumber nu...

iphone - How can I use an UIBarButtonItem style without the UIToolBar

Hello Can I show a black style UIBarButtonItem in my view without the underneath UIToolBar? The UIToolBar always has a kind of border thing, I want the system UIBarButtonItem in black just like a black standard cancel button, but not the UIToolBar How can I do it? Thanks ...

How to setup an open toolchain for iphone 4.x development on ubuntu?

It would be great to develop iphone software on ubuntu. ...