iphone

Get the available list of SSID in iphone

Is it possible to get the available list of SSID in iphone sdk through code? If so, could you get me sample code for reference. ...

iPhone Dev: short sound and vibration at the same time

Hello there, is there any way to play a short sound and let the phone vibrate at the same time? I found something about AudioQueing, but I'm a newbie and cant wrap my head around that whole process of AudioQueing. Kind regards from Germany ...

Base SDK 3.0 to SDK 4.0

I installed SDK 4.0 and found that I lost access to all previous SDK versions prior to 3.2. I have found a link to download SDK 3.1.3 so I have both .dmg install files. Questions: Does SDK 4.0 not allow access to earlier version? If the answer above is no then does that mean I have to have two versions of SDK installed? If yes to ...

How to show directions to neares places from current location using MKMapView

I am new to using MapKit on iPhone. On Google Maps, I have a current location and push pins to indicate nearest places around current location. (The co-ordinates of all are hard-coded as on now). Now, How to do the following: 1. Display a green arrow (right/left arrow) pointing to the nearest push pin location from current location? 2....

Setting the maximum Volume for playing the audio

HI, I need to play an audio file with the maximum volume in my application. But in some cases even if the user manually keeps the volume low, programatically i need to increase the volume and play the audio with maximum volume. I have used the "volume" property in AVAudioPlayer and set the value to 1.0. But its not of use. EVen if i set...

iphone MVC game design question

Hi, I've got a question about the Model View Controller (MVC) design pattern for iphone games. Let's say I have a simple game that uses a ViewController. So this view controller has an associated window/view and takes player inputs of buttons sliders, etc.. on this view. Now I also have a subview of the ViewController's main window/vie...

Xcode, Dev Docs Search Field Loosing Focus?

I am having a strange issue with the developer documentation (which i have only noticed after installing Xcode 3.2.3). My problem is that as you type in the search field (upper right) it looses focus and immediately starts looking for the first few letters you type. For example if you looking for "NSObject" you start typing "NSO" and as ...

how to show progressbar in navigation bar like in messages application in iphone ?

how to show the progressbar in navigation bar as in iphone messages application. For that, you can refer the below link for showing progressbar http://www.apple.com/iphone/features/messages.html I try to do that by using toolbar but result are not as like in messages application. -(void) createToolbar { toolbar = [[UIToolbar alloc]...

Next screen on click of UITableCellView?

I have created UITableCellView in flipsideViewController of my Utility template. How to show next screen onclick of UITableCellView? ...

iphone simulator runs cached copy of app-in-development

I've been making changes to my app, but they don't appear when I attempt to build and run using the debugger. What am I doing wrong? Is there a way to delete the old copy of the binary? I have source control (SVN) set up; could that be the problem? ...

2 Navigations bar on FlipsideViewController of Utility Template.

I have created a TableView in FlipsideViewController. I can see the table but the problem is that on FlipsideViewController i have to navaigations bars. on top is a blue bar without any button and under it a black bar with done button on it. I want to remove that blue one, created automatically when i added TableView to the nib file. ...

CLLoacationManager class returning cached data

Hi frnz , How to remove cached data which is sent by CLLocationManager and how to increase its accuracy.Every time i launch the app it gives me cached data and updates it after some time.I have seen several threads but i am not able to get a concrete sol .can anybody provide me the code? I am using the following method to get position d...

downgrading iPhone 3GS iOS4 to OS3

hi Guys, I'm working on an iphone project for OS3.1.3. I updated my iPhone to iOS4 and now I can't test my project on my iPhone anymore. I tried downgrading but get "device not eligible" What should I do now? If I download latest XCode SDK4 will I be able to recreate my app so that it runs both on OS3 and OS4 ? It has no specific os...

persisting launchOptions NSURL as global variable

I have associated my app with a UTI so that users can launch KML attachments. In the iPad app delegate of my universal app I can see the launchOptions and from these I get an NSURL for the file being launched. I want to store this as a global so that I can access it from elsewhere in my app, I am doing this using a singleton called Engin...

iphone force upgrade to 3.2 instead of 4.0

My iPhone is running OS 3.1.3. I am running xcode 3.2.3 which only supports the iPhone OS 3.2 and 4.0, so I need to upgrade my iPhone's OS to 3.2. (I don't want to upgrade to 4.0 for obvious reasons.) But in itunes, when I click "check for updates" it detects the existence of iOS 4.0 so it doesn't offer me to upgrade to 3.2, only 4.0....

making custom ads for iphone application??

i would like to display ads from my server in a uiwebview placed inside my application for which i will be sending some data from the phone to my server but what i have heard sending user data to your server in application will lead to the application being rejected?? is it true?? is there any other way to implement own custom ads from m...

cameraOverlayView of a camera's UIImagePickerController: remove subviews from it doesn't work.

Hello, I'm developing an Augmented Reality application for iPhone. It's a "Tab Bar Application" with two buttons. The most left button show the camera, and the right button show a tableView. I use camera's UIImagePickerController with an cameraOverlayView. I use this view to draw another views. I use these views to show locations visib...

Apple not accepting applications built with some versions of the SDK.

Hi I'm trying to upload a new binary to the app store. the message i get is: "Apple is not currently accepting applications built with this version of the SDK." Does any one know how to solve it? ...

iOS4 UIImagePickerController doesn't suport mediaTypes = [NSArray arrayWithObject:(NSString *) kUTTypeMovie] ?

In my application,I want to open the camera in Video mode.So I write the following codes - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [window addSubview:viewController.view]; [window makeKeyAndVisible]; UIImagePickerController *ipc; ipc = [[UIImagePi...

how to add string date coming from xml to nsarray

hi guys, i have some string date which is coming from xml RSS feed. what I want to do is to add these string into nsarray. the code is NSString *headline=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"title"]; now i want to store this string into nsarray. as i am implementing searchbar in uitableview can anybody hel...