- 博客(5)
- 收藏
- 关注
原创 ios自定义拍照界面和选取图片界面总结
//自定义拍照界面- (void)photograph { if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { imagePickerController = [[UIImagePickerController alloc] i
2015-04-22 11:20:26 5791 2
原创 WKWebView的使用心得
#import #import @interface ViewController : UIViewController@end.m#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) WKWebView *webView;@end@implemen
2015-04-03 16:49:21 3551 2
转载 在iOS中使用第三方类库
方法一:直接复制所有源文件到项目中 这种方法就是把第三方类库的所有源文件复制到项目中,直接把所有.h和.m文件拖到XCode项目中即可。如果第三方类库引用了一些系统自带类库,那么在项目中还需要额外引用那些类库。 如果当前的项目启用了ARC,而引用的第三方类库未使用ARC,那还需要在项目信息的Targets – Build Parses里找到第三方类库的.m文件,并为它们加上-fno-o
2015-01-21 11:28:28 430
原创 ios总结技巧1
//自定义返回键 UIButton *backButton = [UIButton buttonWithType:UIButtonTypeCustom]; backButton.frame =CGRectMake(0, 0, 43, 43); [backButton addTarget:self action:@selector(backAction:)forControl
2014-12-22 09:19:35 513
原创 ios总结技巧
//防止ios7.0之后tableView错位#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 if ([[UIDevicecurrentDevice].systemVersiondoubleValue] >=7.0) { self.edgesForExtendedLayout =UIRe
2014-12-22 09:18:03 465
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人