iphone

facebook user validation

Hi, I have an Iphone app. I am using facebook connect when for user authentication. I am sending score and fbuser Id to my web server. How can I validation this user valid or not? Thanks ...

Masking a tableView

Hi, i'm trying to build an image mask (like a picture frame) on top of a tableView. I need also a drill down structure to push data on tableView but i need the mask remains firm. How can i do that? I've tried with custom navigationbar and custom toolbar but i don't know how to make the lenft and right edge. Thank you in advance. ...

Can I get the element by Tag from iPhone SDK?

I want to get back a button, I have already assign the tag to there, how can I do so? Thank you... ... ...

How to enable zoom in UIScrollView

How can enable zooming effect in UIScrollView? ...

want to use popViewControllerAnimated instead of popToRootViewControllerAnimated.

hi all, I want to use popViewControllerAnimated instead of popToRootViewControllerAnimated to move to the root view.I do not want to move to root view directly.so is there any method to move to root view by popping all previous views? ...

Selecting Text in PDF file (iphone)

Hi, I'am working in a PDF reader for iphone and I want to learn how to Select a text in PDF, I was able to parse a PDF Document(using CGPDFContentStreamRef and CGPDFScannerRef), and to search for words in the pdf file, but i can't highlight the word in the PDF Document. So, how can I locate a word in the PDF View and How to select it? ...

checkbox in UItableviewcell

taking reference from url link text i am able to bring the checkbox on tableview. Now on button click i want to check which checkbox is selected. HOw can i do so? In the url "Amagrammer" suggested to use NSnotification, can any one provide me an tutorial for that. - (void) toggleImage { selected = !selected; imageView.image = ...

capture the center/HOME button in iphone using phonegap

Can we also capture the center/HOME button in iphone the same way we can do for android using phonegap? ...

Removing leading zeroes from a string.

I have a string 0023525631 but what I want is the string 23525631 without the leading zeroes. How do I do this; I am confused about it. ...

Developping an iOS 3.1 application with iOS 4.0 SDK and device ?

I've developed an iPhone application for an iOS Deployment Target 3.2. But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only. How can I identif...

copy media files from iPod library to an app

I am thinking about app which should play audio files placed in iPod library and played by Audio Units to make sure that IO has the lowest possible latency. As I know I cannot use standard way because direct iPod library playing is supported only within AVFoundation. So my question is, if there is any possible way to copy picked media f...

UIPinchGestureRecognizer problem

I am using UIPinchGestureRecognizer.can i write two action for pinch in and pinch out..is there any specific Method(delegate)?I have written only one it is called when i pinched in... UIPinchGestureRecognizer *pinchGesture = [[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector(handlePinchGesture:)]; [self.view addGes...

How to get all rows of same group in TableView

Please help me to get all rows of same group in tableView. i am using below code to show radio/check in groups of tableview and want the only one per group selection. so for that i have got 2 images 1:uncheck 2:checked so when user will click/select a row of group than i am changing its cell.image to "checked" and its working but don't...

Is it possible to load/save the whole structure of plist in setting bundle using NSUserDefaults

I know it can use NSDictionary to load and save whole plist file on iphone document directory with its structure. But is it possible to load/save the whole structure of plist in setting bundle using NSUserDefaults? ...

uiscrollview initial offset

For some odd reason a UIScrollView I use displays content with an initial offset (about 40) that I can't seem to get rid off... CGRect newBounds = PieChart.bounds; newBounds.size.height = newHeight; PieChart.bounds = newBounds; [scrollView setContentSize:newBounds.size];//has offset // scrollView.contentOffset = CGPointMake(0.0, -40.0);...

weird background in grouped table cell

Hello We use in our application cells in a grouped tableview as buttons. Therefore we set a backgroundimage to look the cells like buttons. We used the following code: cell.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg_gradient_mainmenu_2.png"]]; cell.textLabel.textColor = [UIColor whiteColor]; cell.textLabe...

iPhone distribution provisioning problem

I'm trying to distribute my iPhone application and doing everything like in apple's manuals. And finally, there is no embedded.mobileprovision in MyApp.app. And also there is nothing about it in Built results. I followed all the recommendations (like clean all targets, clear CodeSign identity, remove all build directories and launch xCod...

Why am I not seeing a loading screen in my application on OS 3.1, but I am on 4.0?

I have a loading screen that appears when my application loads on an iPhone 3G running OS 4.0, but not on an iPhone 3G S running 3.1.2. What could be causing this? ...

How to upgrade from Twitter BasicAuth to Oauth in my iPhone Application.

I have struck with posting my application to apple because of following reason. Application is not posting tweets to twitter. I have implemmented twitter with basic Auth. so that it is not working from August 31, 2010. So can any one help me How to upgrade from Twitter BasicAuth to Oauth in my iPhone Application. Another question is...

How do I rotate a CAGradientLayer by 180 degrees?

I have created a CAGradientLayer for my custom UIButtons. The code for creating it is as follows: CAGradientLayer *gradient = [CAGradientLayer layer]; gradient.frame = btn.bounds; gradient.cornerRadius = 10.0f; locations=[[NSArray alloc] initWithObjects: LOC_0, LOC_5, LOC_51,LOC_1, nil]; [gradient setLocations:locations]; colorNext=[...