自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 iOS获取通话状态

#import     #import       [plain] view plaincopy  -(void)detectCall    {         CTCallCenter *callCenter = [[CTCallCenter alloc] init];        callCenter.callEventHandler=^(CTCall* call

2016-04-17 12:37:00 1063

转载 获取UIWebView内容

获取所有html:NSString *lJs = @"document.documentElement.innerHTML";获取网页title:NSString *lJs2 = @"document.title";    thisURL = document.URL;  thisHREF = document.location.href;  thisSLoc = self.loc

2016-04-16 11:13:53 288

原创 iOS label设置内容为HTML

NSString *  htmlstr =@"测试段落";    NSData *data = [htmlstrdataUsingEncoding:NSUnicodeStringEncoding];    NSDictionary *options =@{NSDocumentTypeDocumentAttribute:NSHTMLTextDocumentType};

2016-04-15 17:16:33 348

转载 iOS限制输入长度

[textField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];- (void)textFieldDidChange:(UITextField *)textField{ if (textField

2016-04-13 16:52:53 246

原创 iOS手势滑动返回

自定义返回按钮时:- (void)viewWillDisappear:(BOOL)animated {    [super viewWillDisappear:animated];    //代理置空,否则会闪退    if ([self.navigationController respondsToSelector:@selector(intera

2016-04-13 16:46:24 301

空空如也

空空如也

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

TA关注的人

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