ios

Application session in iOS?

I need to create an "login application" but i dont known about session in iOS. My application need login to my website (PHP based website) to get data. I dont known a lot about session in iPhone. Anybody can tell me how to create and manage application session in iOS? Thanks!!! ...

Flip UIView pre-iOS 4 from left to right

I know there's a simple UIViewAnimationOptionTransitionFlipFromLeft and way to implement that, but how do you do something similar (i.e. flip a UIView over) pre-iOS 4, like on the iPad, for example. ...

Get data from web in iOS.

I want to create an application send an request like "http://www.mysiteabc.com/[email protected]&password=123321" and read data return from a web. Anybody can show me how to do this. Thanks ...

How to get status bar images in iPhone APP

I want to get status bar images without UIGetScreenImage() because this method is Private API. Apple recommend http://developer.apple.com/iphone/library/qa/qa2010/qa1703.html as a alternate solution, but this way can't get status bar images. Would like to know how to get status bar images? ...

Can viewDidAppear:animated method be called multiple times for a single presentModalViewController:animated ?

I have a view hierarchy like this: nav1 (UINavigationController, top level object in nib) view1 (UIViewController) nav2 (UINavigationController, top level object in nib) view2 (UIViewController) I called nav2's view[Will/Did][Appear/Disappear] methods in view1's each method. and when I'm calling presentModalViewControlle...

cameraOverlayView to crop the result in UIImagePickerController

When I use UIImagePickerController with cameraOverlayView, can I get the only a selective region from my overlay view? ...

Read xml from NS

I create NSURLConnection to send an request like "http://www.mysiteabc.com/[email protected]&amp;password=123321" and recives an xml like <response> TOKEN=abcdef </response> in NSData. Anybody can tell me how to read TOKEN from NSData return by NSConection. ...

Check for private API "usage" yourself?

So, we all know Apple forbids using private or undocumented APIs in iOS apps. I have no problem with this, as there are sound technical reasons for why this is a good idea. However, twice now I've had an app rejected for using private APIs, when this was not actually the case. It's not difficult -- the private APIs include symbols like c...

Get Data from NSMutableData?

How can i get data from NSMutabledata which returned by NSConection? Anybody can help me :) Data's returned by NSConection like : TOKEN=abcdef ...

Add window.navigator.standalone to UIWebView DOM

Hi, You know how a "webapp" can be installed via Mobile Safari by tapping the + button? And by launching this app via the homescreen your webapp knows that it was launched from the homescreen because window.navigator.standalone is set to 1... Well.. I made an iOS app with a UIWebView that loads a web app. And now I'd like to add the w...

iPad Interface Orientation

I've been looking for a great pattern to deal with the orientations on the iPad without any luck. I know that there are already a lot of topics about this on stackoverflow but no one is really great so don't waste your time adding this topic as a duplicate. As any iPad application, you have to deal with (at least) 2 orientations (landsc...

How to load UITableViewCell height from a nib file?

I'm reading through TableView_iPhone tutorial from Apple http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html and I'm trying to use 'The Technique for Static Row Content' technique to populate TableView with cells from a nib file. In the tutorial the nib fil...

Get newest object added to NSFetchedResultsController?

Not even sure if this is feasible, but here's the use case: I have a RootView tableview that uses NSFetchedResultsController to manage the list. I tap an add button, which presents the AdditionViewController. The AdditionViewController uses a separatemanagedObjectContext to create the new object. On Save, the object is passed back to th...

How quickly does the iPad respond to touches?

I'm talking, how much time can be expected to elapse between the user touching the screen and something like touchesBegan being called? (Or something lower level, if such a thing is available.) Sub-millisecond? Multiple milliseconds? Tens? ...

Voice Output in iOS

Is it possible to access the speech synthesis feature of the iOS that is used for accessibility? ...

Facebook iOS SDK Too Slow

I have recently wired up my application to use Facebook iOS SDK (http://github.com/facebook/facebook-ios-sdk), the integration works fine but the pages are really slow. It takes really a long time to load the Login screen. Login action takes more than 10-60 seconds. I didn't have this problem with FBConnect. Am I missing something? Is ...

iOS Universal Application: the Minimum OS Version is Different than the Deployment Target

I'm developing a universal iOS application and I set the deployment target to any version before 3.2. However, when it is compiled and I go to install it on an older device, xcode won't install it because version 3.2 is being required. The info.plist generated confirms that the minimum os version is being set 3.2. Why is this? I have a...

Can you help me understand what Cocoa is?

I have spent a lot of time getting into iOS development. I have spent a lot of time familiarizing myself with objective-c as well as xcode. I have spent a lot of time going through the motions without understanding the fundamentals of what Cocoa is. I haven't grown up my entire life understanding coding concepts as some people have, and...

Send String to webserver in iOS?

I want to send a String (a long String, it's about 600 characters) to webserver (PHP webserver). Can i use NSURLRequest and NSURLConnection to send it to my PHP webserver? ...

Call to a number, which contain #. (IPhone SDK)

Hello! I need to make call to a number, that start with #. For example phone number in Russia looks like +79123817711 and I need to call #79123817711. I'm trying this: NSURL *url = [NSURL URLWithString:@"tel://#79123817711"]; [[UIApplication sharedLibrary] openURL:url]; But it's replaced # with %23, and sure, not make a call. Is ther...