文件名称:object-c源码
文件大小:22KB
文件格式:ZIP
更新时间:2013-08-09 07:22:29
iphone keyboard
This sample shows how to use a keyboard accessory view. The application uses a single view controller. The view controller's view is covered by a text view. When you tap the text view, the view controller loads a nib file containing an accessory view that it adds to the text view. The accessory view contains a button. When you tap the button, the text "You tapped me." is added to the text view. The sample also shows how you can use the keyboard-will-show and keyboard-will-hide notifications to animate resizing a view that is obscured by the keyboard.
【文件预览】:
KeyboardAccessory
----en.lproj()
--------AccessoryView.xib(21KB)
--------MainWindow.xib(21KB)
--------ViewController.xib(19KB)
----ReadMe.txt(2KB)
----main.m(3KB)
----KeyboardAccessory-Info.plist(909B)
----KeyboardAccessory_Prefix.pch(203B)
----KeyboardAccessory.xcodeproj()
--------project.pbxproj(13KB)
----Classes()
--------ViewController.h(3KB)
--------KeyboardAccessoryAppDelegate.h(3KB)
--------KeyboardAccessoryAppDelegate.m(3KB)
--------ViewController.m(7KB)