iphone

iphone: in-App Purchase Error

Hi, I am developing an application and using in-app purchases in it. i have created in-app products in iTunes Connect. till yesterday everything was working fine. but today. it started giving this error. "Error: Payment requests are restricted to products returned as valid via Store Kit's didRecieveResponse method." i have no idea wha...

How to find coordinates using Zipcode in iphone

Hi i want to find coordinates using zipcode in iphone ? Can anyone help me ? Thanks in advance.... ...

ASIHTTPRequest: Basic Authentication with Base64 encoding?

Does ASIHTTPRequest uses Base64 encoding for username and password? On the webpage I only found out that the username/password is in plain text if SSL is not used. ...

UIWebview memory problem

Hi, In my App I have a large memory issue I add UIScrollview with a viewController views dynamically when I need and I properly remove the viewController while scrolling. and in that viewController I placed a UIWebiew in IBOutlet and load webview as [m_objWebView loadRequest:[NSURLRequest requestWithURL: [NSURL URLWit...

Decode HTML from XML with NewLine

Hi! First I parse XML and retrieve this: &#60;p&#62;&#60;strong&#62;Berns Salonger &#45; the City&#39;s The I decode it with MWFeedParser (stringByDecodingHTMLEntities) and retrieve this: <p><strong>Berns Salonger - the City's Ideal Meeting Place Note that this is only one line of many many lines which includes alot of tags. Th...

Strange bug with View interaction

I have to views. One on top of the other. But i cannot click the subviews of the top view until I set the alpha of the bottom view to 0.0. Why would that be? Is there some kind of work around? Code involved -(void)setUpOpponentsCardStartingPosition { [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:1.0]; CGRec...

Validating input in multi-lingual application

I'm working on an application that will support both english and arabic languages. The application takes numeric input for use. In arabic language, the numeric characters are different! So, what's the best way to validate numeric input (amount, percentage, number) in such a situation? ...

Can I use NSAttributedString in Core Text in iOS?

Hi, I'm trying to work out how to take an NSAttributedString and use it in Core Text on the iPad. I watched one of the WWDC videos (110) which has slides (but no source code) and it describes how to create an NSAttributedString, then just put it into a CTFramesetterRef: CTFontRef helveticaBold = CTFontCreateWithName( CFSTR("Helvetica-B...

what is Responder chain in iPhone SDK ?? How it works ?

what is Responder chain in iPhone SDK ?? How it works ? ...

Sync google calendar with iphone cal through coding..?

I want to make an app...that can sync my iphone calender with google calendar..i want to do it through coding.... ...

ASIHTTPRequest: https with SSL

How to implement a https connection with SSL and ASIHTTPRequest? Are there some special steps to do? Can it be that this has nothing to do with ASIHTTPRequest? It has to do only with the server-side I think. Can someone post a link or describe the process of how a https connection can be established? This is what I found out so far: I ...

iPhone Internationalization

NSLog(@"Feature: %@, Cost: %f, ID: %@",[product localizedTitle], [[product price] doubleValue], [product productIdentifier]); How to internationalize above statement with the following code: NSLocalizedString(@"Feature", @""); NSLocalizedString(@"Cost", @""); Its Urgent! ...

iPhone audio frameworks

Hello, Does AVFoundation Framework internally speak to AudioToolbox Framework? Because AudioToolbox holds all these services Audio Converter Services Audio File Services Audio File Stream Services Audio Format Services Audio Queue Services Audio Session Services Audio Unit Processing Graph Services Extended Audio File Services System ...

UIImage imageNamed returning wrong image

Hi, I'm having a weird problem using [UIImage imageNamed:] method to set table view cells' backgrounds. I typically do this for a cell: backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"cell_background.png"]]; For some unknown reason, the image returned is not "cell_background.png". It actually returns an older ...

App jettisoned by OS 3.2 when memory usage in instruments is low

Heres the problem. I have an app that is essentially an image gallery, it pulls images down from an xml feed, and archives them locally, then gradually loads 5 images at a time into the scroll view to be displayed. I have had thousands of problems with using [UIImage imageNamed:...] and NSURLRequest/NSData as both cause the app to cach...

ASIHTTPRequest: keychainPersistence

ASIHTTPRequest can store the username/password in the Keychain. How does this work? 1) Is the built in authentication dialog (ASIAuthenticationDialog) coming up and stores the username/password only for the first time? When will the dialog be presented? 2) What about the next requests? Is always the same username/password used? 3) Wha...

How to display Data from RSS Feed in Parts in Iphone Application

Hi all. I am displaying RSS feeds in my table view. as there are hundred of feeds so my application takes lots of time to load them and display them i want to load just first 25 feed and display them in Table view and when User Click on More 25 application load next 25 and display them. Any Idea........... :) I am using TouchXML t...

call void on showing the view

is there something that can call a -(void) every time a view shows. I am rotating between two views, so when i go to the second view and then return to the first view I want a void to be called automatically from the first view I've try to do this with -(void)viewWillAppear:(BOOL)animated and - (void)viewDidLoad by putting a NSLog in th...

How to modify the pixel in image using uiimageview and display the new image in iPhone?

Hi i am new to iphone and i am making an app in which i want to change the image pixels . i am using uiimageview. i have done some of the work. the pixel data is change as i think so but it do not show the new updated image. here is my code -(void)Change{ struct pixel { unsigned char r, g, b, a; }; UIImage *myimage = [ UIImage ima...

Animating a hand of a clock. (Rotation)

So I have my clock as a UIImageView. Thats perfect the clock doesnt move. I am happy with that. I am so have the hand of my clock as another UIImageView and it is placed on top of the clock ImageView. I want to get my Hand of the clock to rotate 360degrees over 10 seconds, but the tricky part is that I want to make it rotate not on the...