patrickwong / photo-app

3 stars 0 forks source link

Replace Photo Library with Photo Framework #5

Closed baiIey closed 9 years ago

baiIey commented 9 years ago

Pull in iOS 8 Photo Framework in lieu of the Photo Library as the app's first screen.

User should be able to see all images on the device in chron order. Tapping a image takes the user to the next screen.

mocks-v1

baiIey commented 9 years ago

/cc @patrickwong @nbories-okta

Found this some great guides:

iOS Dev Center Video: Introducing the Photos Frameworks (Safari-only) Example app using Photos framework

StackOverflow iOS 8 Photos framework: Get a list of all albums with iOS8

baiIey commented 9 years ago

@patrickwong @nbories-okta

Switched us over to the Photo Framework logic and the app is calling the most recent photos on the device right to our first screen. So that's a success.

I'm having a hard time getting the gallery to refresh when the album changes. That means you'll have to relaunch the app (⌘R) to get the images to initialize. (You'll notice a flicker of the thumbnail images, too.) This only occurs on set-up, so I figure we have enough to get us through Wednesday's presentation.

I'll need someone to update the visuals before tomorrow.

photo-framework-refresh