iOS: Determine if photo in photo album is from camera

I am trying to have my application determine if a photo in photoalbum is from camera. The general flow I am trying to implement is

  1. Application loads,
  2. Application enumerates Photo album
  3. If the source of the photo is Camera, then process that photo and cache its information so it can be ignored in future.

Since the "Camera roll" can be written with photos from other application, I want to detect those photos that were specifically taken using the camera.

Thanks in advance


See Technical Q&A 1622, Listing 2 for details on how to get the metadata dictionary of dictionaries (one dictionary for each metadata format) for each ALAssetRepresentation and grab the EXIF dictionary.

The keys of the dictionary of dictionaries can be found in the CGImageProperties Reference, along with the key names for the EXIF dictionary. From that you should be able to get the Camera Make/Model to figure out if it was taken with the phone.

Need Your Help

designing a badge system, where to fire business logic? In code or stored procedures? or both?

design architecture

If you were to build a badge system similiar to how SO does it, would you put the logic/business layer in the database directly (via stored procedure, scheduled sql jobs) or put it in the server si...

Bookmarklet unexpectedly opens new page on click

javascript onclick bookmarklet

So I made a bookmarklet to collapse every row in a table, except the first one, then make that first row toggle/show the rest of the table:

Don't keep previously selected value in select box when page is reloaded

html select

Deos anybody know how to prevent the browser from keeping the last selected option when the client reloads the page?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.