iphone

MFMailComposeController error in Line Location tool

-(IBAction)shareList:(id)sender { MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init]; controller.mailComposeDelegate = self; [controller setSubject:@"Share Shopping List "]; [controller setMessageBody:@"Friend Shopping List Table" isHTML:NO]; [self presentModalViewController:controller animated:YES]...

iphone Development - GDB error signal EXC_BAD_ACCESS

i get the signal error EXC_BAD_ACCESS when trying to retrieve the return output from the randomBallPick method, i probably do it wrong. NSString *temp = [self randomBallPick]; upBall1.image = [UIImage imageNamed:temp]; ...

Doubt regarding slideshow effect in iPhone

I m trying to do slideshow effect in iPhone as like in iTunes. One Image at the middle and the others at the left and ride side arranged in the manner of floppies in rack. but I not even a single clue for that. Can any one help me out? ...

AppleFairplayTextCrypterSession::fairplayOpen() rashing iPhone on startup

Hi, I'm trying to find out if anyone here had mysterious crash on startup and peeking into the console logs, you see AppleFairplayTextCrypterSession::fairplayOpen() failed ? The iPhone app will connect to remote server for xml data and if the server is down this will crash the app. On subsequent startup, it will always crash until I re...

How to customise the Button on UIActionSheet ?

Hi. I want to change width & height, etc. of the button of UIActionSheet UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:@"Done",nil]; Any Help ? Thanks in advance ... ...

What is the best way to organize a group of groups in Obj-c?

I have an unusual problem where I have a list of fruits (apple, orange, banana, grapes, etc etc). They can be organized into small groups for example: Group 1: apple, green_apple, pineapple Group 2: grapes, banana, strawberries, apple Group 3: orange, grapes, green_apple Each group is then associated with a price. So Group 1->9.99, Gr...

How can I make my UIScrollView move only when I drag it?

I don't want the UIScrollView to scroll. But only move when I drag it. So that it stopes when i take the fingers of it. I have placed a lot of imageViews on it. ...

How does iPhone do geo locating?

Hi there, Since there are 3 generations of iPhone, what's the mechanism of their geo locating(WiFi, GPS, any other ways?)? I am doing iPhone development recently so I want to make a deep understanding of this. (I want a list of all methods of locating and a specific introduction) Thank you ...

Ipod Touch 3G vs Iphone for app development.

Is the new Ipod Touch 3G support all the apps designed for iPhone? and how does the 32GB version of iPod Touch stack up against the iPhone 3GS hardware-wise (as in CPU/memory) ? Can i develop apps seamlessly on the iPod Touch? ...

KATO Resource Script Compiler

Hi, I'm new to Iphone game dev, Is there any thing called Kato Resource Script Compiler, used in iPhone game development or any other game development platforms, Thank you in advance. ...

how to remove duplicate value in NSMutableArray

hi experts, i'm scanning wifi info using NSMutableArray, but there are few duplicate values appear, so i try to use following code but still getting the duplicate values, if([scan_networks count] > 0) { NSArray *uniqueNetwork = [[NSMutableArray alloc] initWithArray:[[NSSet setWithArray:scan_networks] allObjects]]; [scan_networks rem...

how to use push notification in iphone SDK3.0?

i am new in the iphone application development. first tell me what is push notification? Why we use push notification? and last how we can use push notification? ...

address of location

how to get the address of location if i have the latitude longitude values of the location in iphone ...

Push notifications dialogue

Hi Guys, Is there any way I could make the "Would you like to enable push notifications..." dialogue not to come up upon first time application launch but rather on some other action in the application? Regardz, Mladen ...

Crash when scrolling a UIPickerView set up with IB

This is my first time using IB, but after spending a one or two intimate days with it I believe I'm beginning to understand it. That's just my way of saying I might be overlooking something simple here: I've set up a UIPickerView and joined it to its DataSource and Delegate object in IB (both different Classes in my case). This allows t...

MPMediaItem.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'class'

I'm compiling my iPhone app, and I'm getting the following error in the header of MPMediaItem from the MediaPlayer.framework: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h:14: error: expected '=', ',', ';', 'asm' or 'attribute' before 'class' ...

MKCoordinateRegion and MKCoordinateSpan in MapKit Framework

Hi all, How to zoom out the map using MKCoordinateRegion and MKCoordinateSpan , so that it is always displayed in the center of the screen ? Thanks ...

[iPhone and Web Services]: REST vs SOAP

I've started my degree project, a mobile application suitable for iPhone, Android and (in the near future) Symbian. The server architecture is the following: web site (for "standard" users); web service (for mobile connections), based on TomCat and Axis2; mySQL DB to storage users data. Surfing across the web, I've read a lot of disc...

How to change the contentOffset of UIScrollView?

How can i change the contentOffset as everyone say so that my ScrollView appears as an infinite one? ...

Why can't I capture a screenshot of MPMoviePlayerController?

Hi guys, I need to capture a screen shot of a video playing in mpmovieplayer controller, but all I get is a red screen (I made the coverView with red background and 0.5 alpha). Here is the code: NSArray *windows = [[UIApplication sharedApplication] windows]; if ([windows count] > 1) { UIWindow *moviePlayerWindow = [[UIApplication sh...