Skip to content

Instantly share code, notes, and snippets.

@edamamegreen
Created May 4, 2018 09:31
Show Gist options
  • Save edamamegreen/c85fcf5b63aa9509a65586beafd207ec to your computer and use it in GitHub Desktop.
Save edamamegreen/c85fcf5b63aa9509a65586beafd207ec to your computer and use it in GitHub Desktop.
iPhone 5 iOS 10*
iPhone 5 iOS 10*
Screen Off*
home button -> Notifications
top button -> Notifications
Locked
top button -> Screen Off
Notifications
home button -> Password Screen
swipe left-to-right -> Message Center
Message Center
home button -> Password Screen
swipe right-to-left -> Message Center
Password Screen
Camera
home button -> Notifications
function create_src(active_state) {
var path = "http://www.nickivance.com/img/";
var filetype = ".png";
return path + active_state + filetype
}
function render(model){
var active_state = model.active_states[0].name;
return $("img", {src: create_src(active_state)})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment