自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 CocoaPods使用

http://www.jianshu.com/p/6e5c0f78200a

2016-02-26 13:31:07 511

原创 ViewControlloer常用背景图设置

@property(nonatomic,strong)UIImageView*bgImageView;//背景图 _bgImageView = [[UIImageView alloc]initWithFrame:self.view.frame]; _bgImageView.userInteractionEnabled = YES; _bgImageView.backgroun

2016-02-18 17:20:27 776

原创 UITableView备忘

<UITableViewDataSource,UITableViewDelegate>@property(nonatomic,strong)UITableView*tableView; -(void)makeUI { _tableView = [[UITableView alloc]initWithFrame:self.view.frame style:UITableViewStyleGro

2016-02-18 11:57:38 539

原创 系统UITabbarController

新建MainTabbarController类在MainTabbarController.m中- (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; //创建viewContronllers [self createViewControll

2016-02-18 11:43:54 548

原创 iOS 带下划线的文字按钮

效果如图 //富文本 NSMutableAttributedString *content = [[NSMutableAttributedString alloc]initWithString:[NSString stringWithFormat:@"发送验证码"]]; NSRange contentRange = {0,[content length]}; [content ad

2016-02-18 09:45:48 1646

原创 UITextfield常用属性

@property(nonatomic,strong) UIImageView*bgImageView;//登录背景 @property(nonatomic,strong) UITextField*phoneNumField;//手机号输入框 @property(nonatomic,strong) UITextField*passwordField;//密码输入框

2016-02-18 09:06:42 591

原创 JSONKit报错

错误显示:direct access to Objective-C's isa is deprecated in favor of object_getClass() BuildSetting中搜索 Direct usage of 'isa' 将 YES改为NO

2016-01-29 14:16:04 699

原创 iOS 高清截取控件原图

#pragma mark 参数view即我们要截取的控件以及控件上的所有视图 - (UIImage *)imageFromView:(UIView *)view withFrame:(CGRect)theFrame { UIImage* image = nil;//最终返回的image //设置截取尺寸 CGSize size = CGSizeMake(view.frame.s

2015-10-29 16:28:47 1593

原创 iOS tableView滑动隐藏/显示tabbar

在需要滑动隐藏/显示的页面中: @property(nonatomic,assign)CGFloat historyY; #pragma mark Delegate //设置滑动的判定范围 - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(

2015-10-23 15:30:48 3264

原创 iOS 多图轮播

将多张图片 轮换展示在当前页面上: UIImageView *gifImageView; = [[UIImageView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)]; //添加图片 gifImageView.animationImages = [NSArray arrayWithObjects:

2015-10-23 13:59:50 563

原创 iOS原生QQ第三方登录

本文简介 1新建一个工程 2导入SDK 3添加依赖库 4配置SDK Framework路径 5代码实现 5-1 在Appdelegate类中 导入头文件 TencentOAuthh 5-2在登录页面实现QQ登录 即此处的ViewController页面 5-2-1 导入登录所需头文件 5-2-2 实现代理以及声明对象 5-2-3 配置Appkey以及redirectURI 此处以官方Demo中的

2015-07-03 17:00:46 1970

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除