iphone

NSInvalidUnarchiveOperationException: cannot decode object of class (UITableViewCellContentView)

Hey all, my App is failing on startup, i located the issue to the following code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"MyIdentifier"; MyIdentifier = @"tblCellView"; TableCellView *cell = (TableCellView *)[tableView dequeueReusableCel...

iPhone Application Exit when scrolling the UITableView

I have declared a NSMutableArray and I populated it with information from the database. The table displays information well. But when I scroll down, the application exits. Seems like its loosing the pointer to the array. Here is the code for declaration of the array: @interface RootViewController : UITableViewController <CLLocationMana...

Help with Weird Text Validation Issue on iPHone App

I am using two forms of text validation (one when they click Next, another when they manually select the next text field to enter) and it's been working perfect. However, the last text field isn't getting error checked and I can't figure it out. You can see the issue in this video on the last text field (http://screencast.com/t/ODJiOTAw...

[C#] How can I read the EXIF data from an image taken with an Apple iPhone

How can I read the EXIF data from an image taken with an Apple iPhone? using C# I need the GPS related data. ps: I know how to read EXIF except image taken with an Apple iPhone ...

Where is 'Top Level of the Application Bundle'? in XCode

I am trying to place the Default.png image into my iPhone App, yet can't figure out where the 'top level of the application bundle' is in the XCode window. Do you not add it to Xcode, and instead into the Build file before you zip it to release? ...

Defining view layouts in one XIB, defining the views themselves in another

I have a main view with a controller and two seperate view controllers with their own xibs. something like @interface MainViewController : UIViewController { FirstViewController* firstController; SecondViewController* secondController; } I would like to have FirstViewController.xib and SecondViewController.xib so that I can p...

rfc850 date format and NSDateFormatter

Im having a hard tim getting the NSDateFormatter to give me a correct date format. I need it to look like this: Mon, 04 Jan 2010 10:10:00 GMT But I am getting: Mon, 04 Jan 2010 10:10:00 GMT+00:00 Using the format string: EEE',' dd' 'MMM' 'yyyy HH':'mm':'ss z No matter what value for timezone I use, the +00:00 appears to be stuc...

Memory leak in XML Parser

Hi everyone I use NSXMLParser for parsing an XML document. I have the following functions (among others): - (void) parserDidStartDocument:(NSXMLParser *)parser { // Init tempString tempString = [NSMutableString string]; } - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)n...

Updating a UITableView's data

In my application, I have a UITableView with a few rows (let's call it TV1), now, at the bottom of these rows is a row that drills down into another (TV2). This new TV2 asks you which type of data you would like to add to the first view. Then, when the user selects which kind, they're brought to another view, in which they fill in some f...

Setting a separate title for UITabBar when the view is on the bar vs. More...?

In the thread "Is there a way to set a separate short title for UITabBar?" this question is asked (edited): "How do I give views short names for display on the tab bar, and longer (more descriptive) names when the same view is linked to in a table view (which has more space)." The answers were to give separate titles to the navigation c...

Why does Apple allow .NET on the iPhone but not Flash?

From what I understand, Apple has banned the Flash runtime on the iPhone because Apple doesn't want an alternative runtime environment to that which Apple provides via their own tools. Allowing a Flash runtime, according to Apple, would allow developers to circumvent application update policies and other controls which Apple has put in ...

How do you Reuse custom animation for multiple layers

Hi, I am a self taught noob with a real interest in code. Please excuse any wrong terminology I have multiple animation blocks that I want to reuse through out my app, in mulitple views and multiple layers/buttons. So how do I do the following: Create an "animation class" that all my views can access. Adjust my code so any layer can...

What does program received signal: SIGKILL mean when profiling an app running on device and using the xcode profiler to detect leaks

What does program received signal: SIGKILL mean when profiling an app running on device and using the xcode profiler to detect leaks? My app broke on a line calling drawInRect on a UIImage instance top of call stack is CGGStateCreateCopy ...

iPhone -- possible to tell the difference between a fingertip and a whole fingerpad?

Is it possible to detect exactly how much finger is in contact with the screen? Say I wanted to make a fingerprinting app, how would I detect the outline of a person's fingeR? ...

Why does a PNG image sometimes get blurry depending on its position in a view

Hi, I have noticed that when placing PNG images into a view using IB and/or animating those images to various positions around a view, the image can sometimes get a slight blur. In most cases I can remedy the blur by adding .5 of a pixel to the images position. [lbLiteButton.layer setPosition:CGPointMake(140.5,159.5)]; Sometimes I ...

Is it allowed to transfer iPhone UDID to my server?

My app has a feature which requires identifying each app users. I'm planning making the app sends UDID to my server. Server stores it, for later use. I don't think that's a personal information, however, I want to know is it approvable or not in Apple's AppStore. And, including transferring phone numbers. In the case of WhatsApp, it rec...

Displaying UImage on the iPhone

This is a very beginner problem. I'm trying to display an image taken with the camera, but when I display the image in a UIImageView the image is blown up. For instance, if I take a picture of a persons face, when I display the image, it will be blown up so much that it's pixelated and all I see is a portion of a nose (or whatever). What...

Is it possible to output video of my iPhone application running on a device?

I am working on an app for a client where he will be showing it in a board from to a group of directors for a serious presentation. Because the iPhone is so small, it wouldn't make sense to have him demo the app on the actual device because no one would see anything. Is it possible to have the screen output on a computer or tv so that ...

iPhone App Submission Question

In my Xcode project I put all my images, audio files, ect... in the resources folder. When I opened the project folder in finder all of my "resources" are not in a resources folder instead they are just scattered in the main folder (I have a good number of files). I already submitted the binary to Apple on Friday so will they care if t...

UITableView isn't loading the data from my plist file what am i doing wrong?

Okay, so I have an app that I'm trying to get to populate a UITableView with the contents of a plist file. I haven't been able to find anyone else having problems doing this and how they fixed it so I'm probably just an idiot but I need to know how all the same! I'm sure the error is somewhere in my viewDidLoad section or my tableview s...