範例觀摩：DocInteractionDemonstrates how to useUIDocumentInteractionController to obtaininformation about documents and how topreview them. There are two ways topreview documents: one is to useUIDocumentInteractionControllers previewAPI, the other is directly useQLPreviewController. This sample alsodemonstrates the use ofUIFileSharingEnabled feature so you canupload documents to the application usingiTunes and then to preview them. With thehelp of "kqueue" kernel event notiﬁcations,the sample monitors the contents of theDocuments folder.
範例觀摩：QuickContactsQuickContacts demonstrateshow to use the Address BookUI controllers and variousproperties such asdisplayedProperties,allowsAddingToAddressBook,and displayPerson. It showshow to browse a list ofAddress Book contacts,display and edit a contactrecord, create a new contactrecord, and update a partialcontact record.