iphone

memory problem with perform selector - iphone

hello i got a problem and i don't know how to solve it. this is what i try to do: the user picks an image from his album on his iphone. while the image will be saved in the application folder, a actionsheet should popup with an activity indicator on it till the saving process is done. below you can see how i tried to do it, but i think ...

iPhone UIImagePickerController: show camera preview on top of openGl viewport

Hi, i've a question about UIImagePickerController class reference, in photo-camera mode. I'm developing an OpenGl game. I should add to game photo-camera features: game should open a window (say for example 200x200 pixels, in the middle of screen), that display in real time a preview of photo-camera IN FRONT OF GL VIEWPORT. So photo-ca...

Scan documents in iPhone

Hi everyone, I must write an application for iPhone to scan documents. The problem is, I have no idea about image processing. When I make a photo of document, than first my application should detect borders of that document and draw that borders and user can crop the image to that border and also correct the perspective of document. Afte...

Is there an option to enable recurring payments in iPhone framework of PayPal?

Hi All, I am creating an iPhone app, Where I need to use PayPal framework for billing the user for purchasing some kind of service. But I need the bill the user on monthly basis. Is there any option to enable recurring payment option in the framework? Please help me Regards ypk ...

How to cancel an asynchronous NSURLConnection

Calling instance method cancel on an NSURLConnection most often don't cancel the connection at all. I'm performing an asynchronous NSURLConnection in an NSOperation. If the operation is cancelled, the connection is stopped by calling cancel on NSURLConnection and then setting the connection to nil. Is there a way to cancel the connect...

UITextView alloc crashes application on iOS4

Hi all, I'm absolutely stumped at this. My properly working application [on iOS<=3.1] was crashing on iOS4. When I tried debugging it, I saw it's crashing at this line: EDIT: I tried changing the position of this statement and put some log statements to check and I could confirm that the application is crashing just at this line. This...

How to avoid use touch the UITableView?

I want the user scroll the UITableView, but not to tap the UITableView, how can I do so? Thank you. ...

How to keep reference to file, saved in Photo Library.

I want to get a file from the Camera or the Photo Library and I know how to get the file using the UIImagePickerController. The thing I don't know is how to keep reference to that file in my source ( for example, I want to save some record, and my record has reference to the image in Photo Library). Example User captures photo with c...

Iphone: provisioning profile of older version lost

Hello: I have an existing application which is uploaded in market place which was earlier developed for iOS 3.0. I have added a new feature to this application and created a build for iOS 4.0. My concern is that I do not have the older private key and provisioning profile with me. And as per documentation, to upload a new version o...

Rotate image according to device orientation

I have an app that let's you take pictures and upload them to our server. The problem is sometimes the pictures are upside down, sometimes are rotated left or right. How can i correct this? How can I rotate the image so that it looks ok on the computer after uploaded? Thanks. ...

Quickly render multiple images on the iPhone

Hi, I'm developing a small iPhone VNC client and I was wondering what's the best and fastest way to render the image updates on the screen without freezing the UI? I tried with CATiledLayer but my UIScrollView was very laggy during the updates... Thanks! ...

View Frame Size Height = 0

Hello, I`m getting 0 when I return this from my ViewController : NSLog(@"%i",self.view.frame.size.height); In Interface builder, the View it's managing is occupying the entire screen . Help ? ...

iPhone, OpenCV and CvBlobDetector

I found Yoshimasa Niwa's article about blob detection here: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en And something on realtime face detection here: http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/ But what I really want to do is realtime blob detection (...

CATiledLayer drawing delay

Hi, I am developing an iphone app. It has following page structure, 1.List of game levels in a UITableView 2.Game page I use "UIViewAnimationTransitionFlipFromRight" between pages Game page has 3 views, One is a scrollView in that my game grid is drawn. Game grid is a sub class of UIView ,that added to Scrollview. To support zooming i...

How to disable slide to delete for a UITableView

Does anybody know how to disable the 'slide-to-delete' in a uitableview? I still want to be able to delete the rows while the table is in editing mode. Thanks ...

Use NSString as object name

Hi everyone, I am using the following array: NSMutableArray *buttonNames = [NSMutableArray arrayWithObjects:@"button1", @"button2", @"button3", nil]; I then want to loop through this array and create UIButtons with each array element as the object name, something like this: for(NSString *name in buttonNames) { UIButton name = [UI...

How to find the Problem using Crash Report of iPhone?

I have the iPhone crash report and I am not able to get what is the problem with that. So, Can any one know what is the problem in the crash report? Incident Identifier: 0C9E5908-BDA9-43B9-8D83-E2EF5E9B75A7 CrashReporter Key: 9cee5ee1497f05fb45986268e8ab8e42fcf2272d Process: GRAHAM [94] Path: /var/mobile/Application...

Interface rotation of an incomplete CATransition

Hello all, I am applied CATRANSITION to a view and did not remove it after it completed. if I rotate the ipad/iphone, the frozen state of the view will not rotate. I reckon it is something expected. Now, my question is: If i want it to mimic the usual interface rotation, should I apply atransform manually to the layer ? i.e if(currentp...

Memory leak when setting cell data in UITableView

When running my iPhone app code with memory leak tool it says that i have two memory leaks in this method. The first when calling cell.textLabel setText: and the second when calling cell.imageView setImage: I can't figure out what it's wrong, please can you help me? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIn...

would like iphone view with feed of all twitter tweets with a given hashtag

Hello! What is the simplest way to display this kind of feed? I've heard you can do this with Yahoo pipes, but does Twitter directly support this? Thanks! ...