iphone

Search and display buisness locations on MKMapView

Hello, I'm trying to find a way to search for a business, such as "grocery stores" and display them on a google map around the users current location. This used to be pretty simple with the old URL style of launching the apple map location but I can't find out how to do it with the MKMapView. I understand that I'll need to use the MKA...

iPhone In-App Purchases for Free-Trials

I am in the process of releasing an application to the app-store. I recently saw that you can make your application free but have in-app purchases. When I saw this I thought that this could be used to create a free trial. However in Apple's Helpful Tips for Using In App Purchase In Free Apps it says Don’t set time limits on any of t...

Convert .m4r/.mp3 to .caf/.aiff in iphone app

Hello, As of right now I am using ffmpeg to convert from .mp3 --> to .aiff but I would like a native way to do this in xcode but i do not understand how to use AudioConverter.h in AudioToolbox soo if someone could please help me I would be really appreciative. Thank You Enea ...

Recognize regular taps in table view on iPhone

Hello, I have a table view with custom cells and I recognize swipes in that cells. That works just fine but I'd like the table view to behave normally. When I tap the wherever on the table view I'd like cell to get selected and perform action tableView:didSelectRowAtIndexPath: Any tips or ideas? Thanks. ...

iPhone SDK - check iPod playlist to see whether there is a next track to skip to

Is there a way to inspect the current playlist from MPMusicPlayerController to see whether there is another track to play in the queue? It's possible to detect this after as skipToNextItem will stop playback and change playbackState, but I want to find out before, so I can disable the skip track function if there are no more tracks to s...

Do I need to release an returned NSError object?

There are many Cocoa methods that require an NSError object as a parameter to a method, but are really a means of returning an error object to the calling method if errors exist. Is this returned object retained? That is, in the calling object code (the method to which the error is returned), does there need to be some code like: NSEr...

Flatten subviews

I have a graphics app I am writing that has a UIView that has several UIImageViews as subviews added to it over time. I want to flatten all these subviews for performance reasons as it is slowing down over time. What is the simplest way to "flatten" these layers. ...

iPhone App: Making a webpage accessible only to people using a specific app.

Hi all! I was just wondering if it is possible and if so what the best way to create a web-page that is only accessible from a custom iPhone application? For example, if you tried to access the webpage from the iPhone's built in browser, or any other browser it would display an error page but when accessed from a custom built applicatio...

How to design UIPageControl app?

Is the correct way of designing a UIPageControl based app still like the PageControl sample (7/3/2008) on the Apple developer site...built for OS 2.0? In that sample, it uses the same xib and controller for the pages. If I have five pages, can I use five different controller/xib pairs for each page? Is that as straight forward as it s...

setting the default applications for a file type in iphone

Hai all, In my iphone application i want to open a my custom application(available in the iphone) when the user tapes on a particular type file sent by email or MMS , for example, if i sent an music file (via email or MMS) with a custom extension (for eg: .muc) i want to open my application (lets say myMusicPlayer) to play that fil...

Help Please...How to control any IR based home applience using iphone? will it require SSH/UPnP based application for iphone?

Hi, I want to use ssh protocol. I want to make an app to transmit signal that would ultimately converted to control IR based home appliences (like controlled by IR remote control. i.e TV) This stuff is new to me. I don't have any clear understanding about how it will be possible. I got suggession to use SSH : ->Install SSH on your se...

How to do two UINavigationController opertaion from the same method?

Often I find myself need to dismiss the current modal view controller and then immediately push another view controller (so imagine something sliding down and then sliding right). What is a clever way to do this? If you attempt to do these two operations all in one go, only the first one is carried out, the second one is ignored. -(vo...

How do i Pause a bundled sound file in iPhone SDK

Hi All, I am now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone help me please. Thanks in advance, Shibin ...

How to use the values of pickerview with textview?

How to use the combine the data of picker view with Text view and use that both value in next view? ...

Programmatically add reminder to iPhone calendar?

Hi guys, Can anyone have any idea about programmatically add reminder to iPhone calendar. I searched the iPhone SDK documentation but didn't find anything. Thanks and Regards Jayaraj ...

iPhone: How to create a iPhone application which gets automatically invoked at a particular time.

I am trying to create a iPhone App which gets invoked automatically at a particular interval. Regards ...

rootview controller in Interface builder?

hi, i have done in didapplicationfinishing function tabBarController = [[UITabBarController alloc] init] ; tabBarController.navigationItem.title = @"News"; SimpleTableViewController *rtbfViewController = [[SimpleTableViewController alloc] init]; //initWithStyle:UITableViewStyleGrouped]; rtbfViewController.tab...

How to combine the values of pickerview with textview?

In My Application pressing the submit button i wanted to perform submit operation but i don't know how combine the textview's value with pickerview's value.if it is possible then show me code with example. ...

Sending multiple iPhone notifications

Hi Guys, My code works ok when I need to send one notification, but each time when I need to send more than one, it only sends the first one. Here is the code: <?php $device_token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $apnsHost = 'gateway.sandbox.push.apple.com'; $apnsPort = 2195; $apnsCert = 'apns-dev.pem'; $...

Problems Queuing Concurrent & Non-Concurrent NSOperations

Hi there, I have an NSOperationQueue which contains 2 NSOperations and is set to perform them one after another by setting setMaxConcurrentOperationCount to 1. One of the operations is a standard non-concurrent operation (just a main method) which synchronously retrieves some data from the web (on the separate operation thread of cours...