added photos framework support for advanced iOS8 features