iphone

Switch between saved sessions in one app

Are you able to have two sessions saved in one iPhone app? I don't mean two sessions active. I want to be able to let someone switch between Facebook accounts in my app without having to logout and back in. To my understanding a session's state is saved in user preferences and is resumed when you basically say [ session resume ]. Ca...

How to return back to My Application after completing the call from iphone

Hi all I am showing contacts list in my iphone application. When user taps a contact number then call starts. But when call is completed then iPhone exits from My Application and switches to the Apple iPhone contacts application. Please suggest me any idea on how to return back to My Application after completing the call.. Thanks Dee...

is this possible to run the app with binary file with no iphone sdk.

i want to give my app to other , but he have no ipone sdk , if i give the binary file of my app then is this possible that he can run the app in his device. ...

JQuery .load() function silently fails when offline

I'm trying to write an iPhone offline webapp using jqtouch/jquery. When I disable my connectivity, it looks like the jquery .load() function silently fails and doesn't even call its callback function. I've set $.ajaxSetup ({cache: true}); but it seems to have no effect. I also have my manifest file etc. working fine - the only issue is t...

NSMutableArray can't be added to

I've had this sort of problem before, and it didn't get a satisfactory answer. I have a viewcontroller with a property called "counties" that is an NSMutableArray. I'm going to drill down a navigation screen to a view that is about selecting the counties for a geographical search. So the search page drills down to the "select counties"...

iphone download several files

hi all !  In my app i need to download several plist.  to download a plist i use the NSURLconnection  in my code i use an UIAlertView with a UIActivityIndicator then when the download is finished i add a button to the alert to dismiss it.  To download the plist i use somewhere in my code an NSURL set to the adresse where the plist is...

how to encrypt the information in iPhone using a 1024-bit asymmetric public/private key scheme ??

I want to encrypt some data like image,sound file or text .is there any tutorial/example available for encryption using a 1024-bit asymmetric public/private key. please provide any link available for the encryption in iphone.. ...

Why Won't this http post request work? Delegate methods not being called

Hi, I'm wondering why this http post request won't work for my iphone app. I know for a fact that the url is correct and that the variables I'm sending are correct but for some reason the request is not being recieved by the aspx page. EDIT:: I re factored the code into its own class with its own delegate methods. The delegate method...

iphone sdk: autorotate jumps back up the page, showing information that has already been read...

Hi, I am using - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{ return YES; } to allow rotation, which works fine - except that the landscape view jumps backwards up the page that is being displayed. I can't figure out what I should be looking at to fix it. I just want the page to rotate w...

UiPickerView change font color according data

I'm using a pickerView with multiple components related to several fields in a Database (CoreData). Is it possible to change the fontcolor for a specific component according the presence of data in the DB ? For example the field in the DB is null the component font color should be RED otherwise black. Any help will be appreciated ! Dar...

Difference between UIViewController and UINavigationController?

Is a UINavigationController a subclass of UIViewController? ...

Using Badge Subview of TabBarItem Elsewhere

Since Apple doesn't seem to provide a public means of creating notification badges wherever you like, I was wondering if it was; A) Possible to reference the subview of a tabbar/tabbaritem that is the badge indicator? B) If so, is it kosher to use/duplicate this view for use within my own view? ...

An NSMutableArray that doesn't retain?

A few UIViewControllers in my app that need to register with a "provider" class in their viewDidLoad methods. I've just been adding them to an NSMutableArray contained in the provider class. However, I don't want this NSMutableArray to keep them from being dealloc'ed, and I also want to have them remove themselves from the NSMutableArr...

problem downloading movie to iphone for storage and playback

I am basically making a video library where you download videos and I then write them to the applications documents folder. This all works fine and if i stream the video from online it plays fine. Or indeed I can stream it from the resource folder fine. However, after downloading it and saving to the documents folder then attempting to ...

Core Data and BOOL setup

I am working on an app that uses Core Data as its backend for managing SQLite records. I have everything working with strings and numbers, but have just tried adding BOOL fields and can't seem to get things to work. In the .xcdatamodel, I have added a field to my object called isCurrentlyForSale which is not Optional, not Transient, an...

Standard add-contact form

Is there a standard add contact form available for someone to use in the sdk? ...

App Store Featured Summary View design

How has Apple designed the View that you get when you look at an app summary in the Featured section of the App Store ( http://i44.tinypic.com/20gfgjr.jpg ) ? There seem to be 2 ways of doing it: Using a UITableView and then creating custom UITableViewCell items for each row Using a UIScrollView and then adding UIView subviews Any r...

Navigation (controller) in Tabbar (c) in Navigation (c) (iphone)

I want to have a TabBar controller inside a navigation controller. So that when an item is selected on the first Navigation Controller it pushes the TabBar into view. Inside this tabbar on the first tab is another navigation controller. However I only want one navigation bar. I've come up with 2 ways but not sure which way is better (I...

How to make a UILabel which adjusts it's text to the upper left?

For some strange reason, in iPhone OS 3.0 this doesn't work: I made a big fullscreen UILabel with numberOfLines = 0 and baselineAdjustment = UIBaselineAdjustmentNone. It refuses to show the text in the upper left. It's always in the center of the bounding box, aligned to the left. The documentation says: UIBaselineAdjustmentNone Ad...

Converting HTTP Response (Java "Properties" stream format) in to NSDictionary.

Hi guyz, I am working on iphone application which contains HTTP Request and Response. The format of the response is a key/value format compatible with the Java "Properties" stream format. I want to store the response into a NSDictionay. Could you suggest me any way to do this? Thank you. sangee Edit: Thanks guyz for the quick rep...