自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 iOS UIWebView 代理方法

//初始化webview myWebView=[[UIWebView alloc]initWithFrame:CGRectMake(0, 22, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height-22)]; myWebView.delegate=self;

2016-01-25 15:23:58 5501

原创 iOS 显示%

显示98%。。。显示百分号% progressValue是一个浮点数。 valueLabel.text = [NSString stringWithFormat:@”%.0f%%”,progressValue]; int Value = 6;NSString *string = [NSString stringWithFormat:@"%d%@",Value,@"%"];NSLog(@"s

2016-01-23 15:51:10 998 1

转载 iOS 系统消息通知

一、键盘 1、UIKeyboardWillShowNotification-将要弹出键盘 2、UIKeyboardDidShowNotification-显示键盘 3、UIKeyboardWillHideNotification-将要隐藏键盘 4、UIKeyboardDidHideNotification-键盘已经隐藏 5、UIKeyboardWillChangeFrameNotification-

2016-01-23 15:30:03 1280

原创 tableview自定义空间代理方法

自定义cell.h文件@class ProductCollectionViewCell; @protocol ProductCountDelegate <NSObject> (void)collectionCell:(ProductCollectionViewCell )cell btn:(UIButton)btn countLable:(UILabel *)countLable; @end@pr

2016-01-23 15:19:17 270

原创 iOS 获取手机型号

// 获取手机型号 (NSString*)deviceVersion {// 需要#import "sys/utsname.h"struct utsname systemInfo;uname(&systemInfo);NSString *deviceString = [NSStringstringWithCString:systemInfo.machineencoding:NSUTF8StringE

2016-01-23 15:17:06 229

原创 iOS 抖动动画

// 抖动动画 CABasicAnimation *shakeAnimation = [CABasicAnimation animationWithKeyPath:@”transform.translation.y”]; shakeAnimation.duration = 0.25f; shakeAnimation.fromValue = [NSNumber numbe

2016-01-23 15:14:50 343

ios 蓝牙打印

ios 蓝牙打印

2016-01-28

空空如也

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

TA关注的人

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