iphone

how to create session (iPhone)?

How do you log the user in, create and store the user's session? (It will timeout on its own aswell? do you need to store it in a database?) ...

How to fetch Blob as an image

I have inserted an image as a blob in a sqlite. Now how can I fetch that blob as an image or how can I convert that blob into image file. ...

Searching for Apple iPhone Provisioning Assistant

I'm trying to get started with an iPhone project. The book I am working with (Sam's 24 Hours) says to go to the Developer Portal, which will present the Development Provisioning Assistant, and then click on the Launch Assistant button. My screen does not look like the picture in the book, and I can't find a Provisioning Assistant anywh...

How to update a free version of App with Paid version of same app from the app in iPhone apps?

I am developing an which requires up-gradation of App from free app to paid app in free application itself. i want to lock some features in Free app and if user wants to access locked things they have to download paid app by tapping on the "Update to full version" button in application itself. I am thinking that this feature can be poss...

Any api to change iphone's system time?

is that possible to update system time programatically in ios? ...

What framework to use to connect to a SQL Server instance from an iPhone?

I need to write an iPhone application to connect an instance of SQL Server but I can't figure out which framework I could use to do this. Is there an ODBC framework I could use? Any links would be appreciated. Please do not tell me to use a web service as that won't fit for this situation. EDIT: I'm building a SQL querying tool for the...

How do I output a literal sequence with NSLog

I want NSLogto output a literal escape sequence, without treating it as a pattern. Take, for example NSLog(@"image%03d.jpg");, who's output I want to be the actual contents, image%03d.jpg instead of image000.jpg. I've tried various escape sequences like NSLog(@"image\\%03d.jpg");, NSLog(@"image\\%03\\d.jpg"); and NSLog(@"image%03\\d.jp...

UIWebView doesn't update

I am using UIWebView loadRequest to request a new URL. The UIWebView is inside a TabBar View. When I place the request inside awakeFromNib it works. When a make a subsequent call the view does not change. [webDisplay loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]]; If I place the initial r...

Animate multiple UIButtons

Hi I am beginner to iOS and I have a question. I want to re arrange multiple buttons when changing orientations so i have this code to create them : NSArray *buttonImages = [[NSArray alloc] initWithObjects:@"button_1.png",@"button_2.png", @"button_3.png", @"button_4.png", nil]; int xcord = 0; //int ycord = 0; UIInterfaceOri...

touch began in UIScrollView

touch began doesn't work in UIScrollView How to enable touch began in UIScrollView? ...

Ignore case UITextField/UITextView

Hi, I would like to ignore all case sensitivity to be ignored for my UITextField and UITextView. I would also like to know how to detect if the string is upperCase or lowerCase. Thanks. ...

How to reuse common subelements of a custom UITableViewCell with iOS Interface Builder?

I have several custom UITableViewCell, which share a lot of common subelements. I tried creating a UIView and using it as a subview for all the table cells, but obviously this wouldn't work, since entities in IB are object instances, not classes or templates. How can I capture these common subelements in a custom control and drag it i...

iPhone Codesigning help?

Hey, What should the Bundle ID be entered as in iTunes Connect? I have my Bundle ID in the XCode project set to com.<mydomain>.<appname> I have my Provisioning Profile app id as <bundle seed>.com.<mydomain>.<appname> The project builds fine an I get the green verification that Codesigning and Validation went ok. But what bundle ID ...

UITableView multiple selection

Hi, I have a UITableView that I want to use to allow multiple selections. I have rolled together most of the functionality, but am having one small problem. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"Selected"); UITableViewCell *selectedCell = [tableView cellForRowAtInd...

How to call the tap on the back-button in the UINavigationBar programmatically?

How to call the tap on the back-button in the UINavigationBar programmatically? ...

dealloc problem with instance variables

A problem happens when I was trying to release one of my instance variables and reassign it a new value. I would like to release the address that a instance variable points to, and re-assign a new value to it. The code look like this: The .h @interface MapPageController : UIViewController<MKMapViewDelegate> { AddressAnnotationManager...

access methods and variables in first navigation controller from pushed view

Hi guys, I normally use UIViews to make my apps - but this one I am using a navigationcontroller. I am pushing a view to the top where I want to add items to an array. However, I cannot access the main navigation controller methods etc. Here's the set up 1) AppDelegate adds navigation controller [window addSubview:navigationController...

multiple UITableViews with a page control

how to make uitableview with pagecontrol. I found some example , it's using UIScrollView. I can't add UItableview in UIScrollView because UITableview is a subclass of UIScrollView. ...

How to draw a background fast in cocos2d?

I'm toying with a small game on my iPad using cocos2d and I've run into some performance worries. I have a 512x512 image tiled as my background. That gives me around 40fps with 20 sprites (in a CCSpriteBatchNode), the code for the background is this: CCSprite *background; background = [CCSprite spriteWithFile:@"oak.png" rect : CGRectMa...

Iphone , how to read mp3 google tts in iPhone

I use the sample code in this link http://cocoawithlove.com/2009/06/revisiting-old-post-streaming-and.html its work for all http link mp3 file but its not work for @"http://translate.google.com/translate_tts?q="; because it is html 5 page can i help me please for read this link ...