08 2015 档案

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