iphone

Move the object in iPhone?

Hi, everyone, I want to ask a question about the iPhone application. I am going to write a application, and the application can let the users to move the list or folder just like you move the app in the home page in iPhone. Is it possible to do it? Thank you. ...

UIImageView ignores UIViewContentModeScaleToFill

Hi I have a UIImageView that I dynamically load with an Image using myTableViewCell.myImageView.image = [UIImage imageNamed:myImageFileName]; myImageView is a UIImageView added to a myTableViewCell.nib and declared as IBOutlet. In IB I set the properties to set the content mode to "ScaleToFill". The images are larger than the UIImag...

looking for a simple example of informal protocols in Objective C , to understand how informal protocol works actually.

hi, i am looking for a simple example, which shows how informal protocols works...! ...

iPhone SDK - Mute

Hi I have the following to play m background music: NSURL *url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/bgMusic.mp3", [[NSBundle mainBundle] resourcePath]]]; NSError *error; bgMusic = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:&error]; bgMusic.numberOfLoops = -1; bgMusic.volume = 0.1; i...

How do i check whether my current navigationController.view = a classes.view? Reason = push notifications. + iphone

Hi guys, so basically in my app delegate i have a navigation.controller This navigation controller has a view of a class named MainScreen. In MainScreen.m , i have a IBAction which will bring me to a SelectionScreen.m page by pushing it. here is the coding for it SelectionScreen *aSelectionScreenViewController = [[SelectionScreen al...

how to deploy xcode application in real devide

hi i am new to iphone. i am developing a simple application in iphone 3.1.2. Now i need to test it real device,But i am not in a position to pay $99. Is there any alternate way to test my application in real device. Please advice any other way. Thanks in advance for Your valuable suggestion. ...

how I can traverse this JSON response result

jsonRes: ( ( 8, "../images/DealExtreme/sku_37281_1_small.jpg", "Genuine ANV DVD+R DL 2.4X 8.5GB 240-Min DVD Writable (10-Disc Spindle)", "13.44" ), ( 9, "../images/DealExtreme/sku_4483_1_small.jpg", "Mini DVD-R 10-Pack Spindle 1.4GB/30min 1~8X", "8.56" ), ( ...

Transform question: How to move image whilst zooming?

Please can someone help with a simple transform I am attempting... The code below zooms a thumbnail image into one that fills the screen. The problem is the thumbnail isn't centered (its offset towards the right), so the zoom actually needs to be moving the image towards the left, as it zooms in. [fullsizeImageButton setTransform:CGAff...

Fade-in / fade-out during an interface rotation

Hi, When my iPhone interface rotates, I would like to do a fade-in fade-out for as specific UIView of a UIViewController... Like... - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0....

How do you enable touch interaction in Core Plot?

Has anyone tried to add touch interaction to CorePlot? I'm trying to implement custom layer to be able to draw a line on the chart which will show specific value and will draw itself in specified location when user touches chart area, but I'm not having any luck. ...

Searching and buying item from amazon through iphone app

Hi, I want to develop an application which could display items from amazon to user and if user want to buy them. He can do so from my app only. Is there a way to do this? Any help would be appreciated. ...

Making a request to a web service for logging purposes in Objective-C

Hello friends. I have a web service with a URL like this: http://webservice.com/?log=1 I would like to make a request to this URL in Objective-C such that the web service can log that fact. I don't care to pass anything on to the web service and nor do I care how it responds to the request. What is the most effective way to achieve th...

how to refresh the root view after dismissal of a modal view?

Hi After presenting another view on my rootview, then I dismiss it, I want to refresh or reload my view, is it possible? ...

Sending Reciving Problem in Bluetooth Connectivity problem

Sending Reciving Problem in Bluetooth Connectivity problem Hi I am getting a problem in data transfer problem. What actually i need is that when i click transmit button in the application, it should send the XML file and on other device when i click receive button, it must receive the data via bluetooth. For this, i referred GKPeerPick...

sticky selected cell in UITableView like the new twitter ipad app?

any idea how to have the selected cell in UITableView sticky and remain visible while scrolling? like how the twitter ipad app works. i would like it on my splitview's uitableview. ...

"An instance method you define in a category of the NSObject class might be performed not only by instances but by class objects as well.

Can you explain "An instance method you define in a category of the NSObject class might be performed not only by instances but by class objects as well", i have come across this sentence while reading an Objective C guide...! But i am not able to get it. ...

ASIHTTPRequest: Results are not populated at the right time when using an asynchronous request

Hello all, I've my own class which should do the request and the data processing (parsing). This class should be used from different view controllers. In this class I have implemented: - (void)sendRequest:(NSString *)url; - (void)requestFinished:(ASIHTTPRequest *)request; - (void)requestFailed:(ASIHTTPRequest *)request; - (id)parse:(NS...

iPhone SDK << meaning?

Hi another silly simple question. I have noticed that in certain typedefs in Apple's frameworks use the symbols "<<" can anyone tell me what that means?: enum { UIViewAutoresizingNone = 0, UIViewAutoresizingFlexibleLeftMargin = 1 << 0, UIViewAutoresizingFlexibleWidth = 1 << 1, UIViewAutoresizin...

How to implement a task repeatedly while the application is in foreGround.

Hi, I am using location services, in that I get locations list ,and display local notifications to user while my application is in background. Similarly I want to implement a task repeatedly while the application is running in foreGround. In appdelegate which method should I use So that I give notifications to the user. ...

iphone app keywords localisation

Hi, Wondering if anyone can help me understand how the localisation works with keywords. I have an app in English. I would like to make search easier for users in non english speaking countries by including keywords in german, french, spanish etc..However I would like to keep my app the same i.e. in english. Is this possible? will app ...