iphone

iPhone SDK Noob Problem with Search Bar

Hello. I hope you will reply to this: I once had this kind of array: NSArray *array = [NSArray arrayWithObjects:@"Object1", @"Object2", @"Object3", nil]; NSDictionary *arrayDictionaryDict = [NSDictionary dictionaryWithObject:array forKey:@"Key"]; [listOfItems addObject:arrayDictionaryDict]; Now I have this: NSDictionary *dict1 = [N...

How do I get an app to show up in the Application Loader?

I added a new App ID and distribution profile then went to iTunes Connect and added a new application from the Manage Application link- Uploaded screenshots and the icon. So what else do I need to do to get the app to show up in the Application Loader? ...

Internal scripting/programming language allowed in an iPhone App Store app?

I've heard some conflicting things about the acceptability of scripting languages (e.g., Lua) in apps for the App Store. I'd like to hear from anyone who understands the policy regarding apps which contain some level of programmability, or someone who has had experience submiting such an app for approval. For instance, suppose I want t...

How can I determine if a UITableViewCell has been previously loaded?

Basically I want to check whether a cell in a UITableView has been loaded/viewed before so I can perform an animation on the first view of the cell. Does anyone know how I would go about doing this? I'm guessing this is probably a backwards way of doing this, if you can think of a nicer way of checking then i'm all ears. Thanks in adva...

Interface Builder shows old Received Actions

When I open my xib file in Interface Builder and click on File's Owner in the Document window, the Connections Inspector is showing far more actions below Received Actions than I have defined in the class as specified by the File's Owner Class Identity. I have only two IBAction items defined in the class, and both of these actions are s...

Sorting an NSArray using another NSArray as a guide

So, imagine you have a couple of arrays, Colors and Shapes, like this: Colors: { Yellow, Blue, Red } Shapes: { Square, Circle, Diamond } Now, if I want to sort Colors into alphabetical order I can do something like this: NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:nil ascending:YES selector:@selector(loc...

Find iPhone Model information

While it's not good practise to find out and use this information in your application, is there a way to find what model of iPhone / iPod / iPad you have. For example: 2G/3GS/4G etc ...

Access metadata (exif tags) of image taken by UIImagePickerController - iOS/iPhone

Is it possible to access the metadata of an image captured by UIImagePickerController in iOS? I understand this can be done with AssetLibrary framework for images captured by the camera application (or otherwise present in the iPhone photo library), but can a developer access any of the metadata/exif info from within an application right...

creating a custom menu system without a UINavigationController

This is related to my previous post, but I am trying to understand what another developer has told me concerning building a custom navigation menu mechanism for the iPhone. I am new to objective C/iPhone stuff, but experienced in programming in general. What I am trying to create is a custom menu system that does NOT involve UINavigation...

How to use single sign-on on iPhone native app?

I'm developing a mobile version of a web app that uses single signon. How do I use Single sign-on on native iPhone app? ...

Are there mounted volumes on the iPhone / iPad? How to use these?

NSFileManger has this method: - (NSArray *)mountedVolumeURLsIncludingResourceValuesForKeys:(NSArray *)propertyKeys options:(NSVolumeEnumerationOptions)options the docs say it's for iOS 4.0; That sounds interesting. So I can plug in an USB stick now some time soon? Or can I do so already via the 30-pin connector (if I had a fancy adapt...

Subviews disappearing from UIViewController

Hello, I have application with multiple UIViewControllers using navigation controller. UIViewController contains tableView, searchbar (that I can show/hide) and toolbar. All of this is added as subviews to its view. All this subviews are created after UIViewController is initialized and their content depend on UIVievController's content...

playing intro movie on ipad

i am trying to play an intro movie (like a splash screen). it used to work fine for sdk 3.0 but now i am doing it for iPad. and its not running movie instead it just show black screen before view appears. here is my code (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSStr...

A good place to start learning writing apps for the iphone ?

Hi all, I was wondering what would be the steps I need to follow if I am just an individual looking to write my own apps and get it approved by apple to feature on their store. Also, is it just objective-c I need to learn or what other skills would I require ? What would be a good tutorial or a place to start ? What are the tools I re...

UIControl subclass is unable to take a target?

I've subclasses UIControl and in it I am sending: [self sendActionsForControlEvents:UIControlEventValueChanged]; When I create an instance of the object, I add a target as follows: [starView addTarget:self action:@selector(starRatingChanged:) forControlEvents:UIControlEventValueChanged]; The view shows up fine, and without the targ...

Can I update my binary when it's waiting for review without beeing thrown back in the waiting queue?

I've submitted an app a few days ago and it's still waiting for review. In the meantime I've done some improvements... could I submit that new binary now or is that going to reset my waiting time so that I basically start from scratch again? ...

Setters and Getters (Noobie) - iPhone SDK

Hello everyone, I don't really have a solid understanding of Setters and Getters for objective-c. Can someone provide a good guide for beginners? I noticed that this comes into play when trying to access variables in another class, which I am trying to do right now. I have two classes, lets say A and B. I have a NSString variable in A w...

What does "{Exif}" indicate from [NSArray objectAtIndex:]

I'm on a quest to see if I can figure out how to access Exif Metadata information from an image captured by my iphone. The apple documentation seems to lack the necessary information I'm looking for. I'm probably going about this stupidly, but I'm relatively new to iPhone programming and objective-c so I'm still figuring everything out. ...

Must I test the release build which I submit to Apple? How?

I've heard you gotta test the release build as well, and some things can work different in that build than on the debug build. The big question is, how can I bring a release build on my device without the App Store route? Only by Ad Hoc distribution? ...

Everytime Camera dismiss, Viewdidload got called

it happens only on the 3GS, 4 or 3G is OK. seems like viewcontroller got called everytime camera dismissed. any thoughts on that? It's Iphone, the system calls viewdidunload my view of viewcontroller when I did a [self presentModalViewController:picker1 animated:YES]; I don't want the system to dismiss my view. I did a [self.view...