08 2015 档案
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 @property(strong,nonatomic)UIDatePicker * datepicker; 5 -(void)UpdataTime; 6 @end 7 ...
阅读全文
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @property(strong, nonatomic) UIPickerView * pickerView; 6 @property(strong,...
阅读全文
摘要:(转)一、键盘风格UIKit框架支持8种风格键盘。typedef enum {UIKeyboardTypeDefault, // 默认键盘:支持所有字符 UIKeyboardTypeASCIICapable, // 支持ASCII的默认键盘 ...
阅读全文
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 @property(strong,nonatomic)UIScrollView * ScrollView; 5 @property(strong,nonato...
阅读全文
摘要:#import "ViewController.h"@interface ViewController ()@property (strong, nonatomic) IBOutlet UIImageView *imageview;- (IBAction)imageTransform:(UIButt...
阅读全文
摘要:1、常用属性self.view;self.navigationController;//自动赋值self.navigationItem;//手动赋值self.tabBarController;//自动赋值self.tabBarItem;//手动赋值 1,可视化属性 UIView * v1; UI...
阅读全文
摘要:AVCaptureDevice.h,主要用来获取iphone一些关于相机设备的属性。AVCaptureDevice.h,必须要引入AVFoundation.framework包。1. 前置和后置摄像头enum { AVCaptureDevicePositionBack = 1,AVCapture...
阅读全文
摘要:#importintmain(intargc,constchar* argv[]){//可变字典NSMutableDictionary* set = [[NSMutableDictionary alloc]init];[setsetValue:@"shdf"forKeyPath:@"1"];[set...
阅读全文
摘要:#import"ViewController.h"@interfaceViewController()AVAudioPlayerDelegate>@property(nonatomic,strong)UIProgressView* progressView;@property(nonatomic,s...
阅读全文
摘要:#import"ViewController.h"@interfaceViewController()@property(nonatomic,strong)UILabel* label;@end@implementationViewController- (void)viewDidLoad {[su...
阅读全文
摘要:@interfaceViewController()@property(nonatomic,strong)UIButton* button;-(void)btnshort;//短按回调方法-(void)btnlong:(UILongPressGestureRecognizer*)gestureRec...
阅读全文

浙公网安备 33010602011771号