Lecture 7

Lecture 7 - Stanford CS193p Fall 2011 Developing...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Stanford CS193p Fall 2011 Developing Applications for iOS Fall 2011 Stanford CS193p Stanford CS193p Fall 2011 Today UI Element of the Week UIToolbar iPad Split View Popover Universal (iPhone + iPad) Application Demo Friday Section AVFoundation framework - Capturing and manipulating images. Stanford CS193p Fall 2011 Collection of UIBarButtonItem s Just drag a UIToolbar out into your view (usually at the top or bottom of it). Then drag UIBarButtonItem s into the toolbar and wire up outlets/actions to/from them. Has a default steel UI, but can be customized using bar style, background image, et. al. UIToolbar Custom toolbar with a background image which is a .png of a yellow square. Standard toolbar UI. Stanford CS193p Fall 2011 UINavigationController s Toolbar One also appears at the bottom of a UINavigationController if its toolbarHidden @property = NO (then you set each UIViewController s toolbarItems @property to control which buttons ( toolbarItems is an NSArray of UIBarButtonItem s) Default value of toolbarHidden is YES . UIToolbar Navigation Controller Toolbar Switch to turn on Toolbar in Navigation Controller in Xcode PsychologistViewController s toolbarItems array contains a UIBarButtonSystemItemCamera . Stanford CS193p Fall 2011 UINavigationController s Toolbar One also appears at the bottom of a UINavigationController if its toolbarHidden @property = NO (then you set each UIViewController s toolbarItems @property to control which buttons ( toolbarItems is an NSArray of UIBarButtonItem s) Default value of toolbarHidden is YES . UIToolbar Navigation Controller Toolbar Switch to turn on Toolbar in Navigation Controller in Xcode PsychologistViewController s toolbarItems array contains a UIBarButtonSystemItemCamera . Click Here Stanford CS193p Fall 2011 UINavigationController s Toolbar One also appears at the bottom of a UINavigationController if its toolbarHidden @property = NO (then you set each UIViewController s toolbarItems @property to control which buttons ( toolbarItems is an NSArray of UIBarButtonItem s) Default value of toolbarHidden is YES . UIToolbar Switch to turn on Toolbar in Navigation Controller in Xcode HappinessViewController s toolbarItems array contains a Bordered button with the title Hello. Stanford CS193p Fall 2011 UINavigationController s Toolbar One also appears at the bottom of a UINavigationController if its toolbarHidden @property = NO (then you set each UIViewController s toolbarItems @property to control which buttons ( toolbarItems is an NSArray of UIBarButtonItem s) Default value of toolbarHidden is YES . UIToolbar Switch to turn on Toolbar in Navigation Controller in Xcode HappinessViewController s toolbarItems array contains a Bordered button with the title Hello....
View Full Document

Page1 / 30

Lecture 7 - Stanford CS193p Fall 2011 Developing...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online