摘要: Picking the Date and Time with UIDatePickereffect:1. declaring a property of type UIDatePicker#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) UIDatePicker *myDatePicker;@end@implementation ViewController...2. instantiate the date picker- (void)viewDidLoa 阅读全文
posted @ 2014-02-09 17:08 Master HaKu 阅读(947) 评论(0) 推荐(0) 编辑
摘要: Creating and Using Switches with UISwitchYou would like to give your users the ability to turn an option on or off.effect as follow:SolutionUse the UI... 阅读全文
posted @ 2014-02-09 15:51 Master HaKu 阅读(3012) 评论(0) 推荐(0) 编辑
摘要: 1. Viewspresentation:A view (an object whose class is UIView or a subclass of UIView) knows how to draw itself into a rectangular area of the interface.eg: you can drag an interface widget, such as a UIButton, into a view in the nib editor; when the app runs, the button appears, and works properly.i 阅读全文
posted @ 2014-02-09 10:57 Master HaKu 阅读(224) 评论(0) 推荐(0) 编辑