Skip to main content

Posts

Showing posts with the label apple

Custom iPhone camera controls (not using UIImagePickerController)

While I understand that in order for an iPhone application to be accepted on the App Store, one requirement is that only documented libraries are to be used. If this is the case, how are certain applications such as "Night Camera" and "Camera Plus" using a camera control that seems to be something other than the one contained within UIImagePickerController? I have heard of certain cases where a developer has been given "special" access to certain headers that allow for features that would otherwise be impossible if constrained to only using documented libraries. However, given how opaque the application selection process is for the App Store, I would prefer to stick to what is recommended rather than take my chances. Anyone care to shed some more light on this? Source: Tips4all

iPhone Development w/ xCode 3.2.4

I just bought the book: Sams Teach Yourself iPhone Application Development in 24 Hours. In the book it uses xCode 3.2.4, so I went ahead and tried xCode 4.3 (the current version), but I didn't understand what to do... I then found this page... https://developer.apple.com/downloads/index.action I downloaded the version of xCode used in the book (just so I could see the same thing the book shows). But, I'm getting two errors each having something to do with the Interface Builder... "This version of Interface Builder does not support documents of type "Interface Builder Cocoa Touch Document (XIB 3.x)" targeting "iPhone/iPod touch"." And it comes up twice for two different documents in my xCode project. How can i get it to work? In the book the code I put in works just fine. Also my Mac Version is: 10.7.3

Adding Accessory to UITableView

I've got a UITableView displayed on screen for a while. In each cell is a song and artist name. In the background, each song and artist name is searched for online (using the Spotify API). It finds the URL to play one song, and then moves on to the next one! :) Sounds simple... but what I want is when each song is found, for the Checkmark accessory to appear in that row. Currently i've got the following code to do this... [[table cellForRowAtIndexPath:[NSIndexPath indexPathForRow:currentConnectionNumber inSection:0]] setAccessoryType:UITableViewCellAccessoryCheckmark]; [table setNeedsDisplay]; But all that happens is when all of the songs has been found, THEN the checkmarks appear... Why is this and how can I make the checkmarks appear one at a time? thanks

Your Second iOS app Tutorial: How Many Sections Do They Want?

In Your Second iOS app, there is a portion that says the following: After you finish laying out the cells in the table, the detail scene should look similar to this: However, mine has Section-1, Section-2, Section-3 right above each section. I get the feeling that they want 1 section with three cells. Can you tell which?

iPhone, iPad script rule out

Is it possible to rule out a script load only when viewing site on Apple devices? For example I don't want this file to be loaded on iPhone/iPad: <script type="text/javascript" src="js/jquery.skinned-select.js"></script> Will be grateful for any help.

iPhone, iPad script rule out

Is it possible to rule out a script load only when viewing site on Apple devices? For example I don't want this file to be loaded on iPhone/iPad: <script type="text/javascript" src="js/jquery.skinned-select.js"></script> Will be grateful for any help.