WatchKit Segues Segues Transition to another interface controller - - PowerPoint PPT Presentation

watchkit
SMART_READER_LITE
LIVE PREVIEW

WatchKit Segues Segues Transition to another interface controller - - PowerPoint PPT Presentation

WatchKit Segues Segues Transition to another interface controller Push segues and modal segues Set up segues visually from storyboards or from code Push Uses a navigation stack model Interface Interface Interface Interface


slide-1
SLIDE 1

WatchKit

Segues

slide-2
SLIDE 2
slide-3
SLIDE 3

Segues

Transition to another interface controller Push segues and modal segues Set up segues visually from storyboards or from code

slide-4
SLIDE 4

Push

Uses a navigation stack model

pushControllerWithName("MyInterfaceController", context: nil) popController() popToRootController() Interface Interface Interface Interface

slide-5
SLIDE 5

Modal

Interrupts the current navigation flow

presentControllerWithName("MyInterfaceController", context: nil) dismissController() Interface Interface Interface Interface Modal

slide-6
SLIDE 6

Demo

Segues! Try a segue in code Try a segue in the storyboard

slide-7
SLIDE 7

Challenge Time!