自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 ios ShareSDK点击微信分享没反应

如果点击微信分享没反应也不报错,多半是分享的图片过大,微信要求缩略图大小不能超过32K的。。。。。 搞了半天才找到这个原因,坑爹

2016-05-31 10:27:35 3875 1

转载 苹果iOS开发中如何直接跳转到App Store里面

在iOS应用中如何直接跳转到AppStore里面?其实这个问题很简单,首先拿到你要跳转到的AppStore地址(URL) 例如:https://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8   然后将 http:// 替换为 itms:// 或者 itms-apps://   然后调用以下代码   [[UIAppl

2016-05-30 15:45:37 998

转载 ios UITableview 刷新某一个cell 或 section

//一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic]; //一个cell刷新 NSIndexPath *indexPath=[NSInde

2016-05-24 16:49:51 307

原创 ios键盘上方添加view

UIView *view =[[UIView alloc]initWithFrame:CGRectMake(kScreenWidth -60, 0, 45, 30)]; view.backgroundColor =[UIColor clearColor]; UIButton * btn =[[UIButton alloc]initWithFrame:CGRectMake(

2016-05-24 10:49:48 1214

原创 UIAlertController的使用

UIAlertController *alert =[UIAlertController alertControllerWithTitle:@"提醒" message:@"请选择" preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction *action =[UIAlertAction actionWithTitle:@"确定"

2016-05-20 17:39:32 289

原创 ShareSDK分享使用步骤

1,通过文档标准版去下载标准版的SDK 2,导入SDK和依赖库 3,登录Mob注册APP Key 4,注册需要分享到的平台的appid,appkey等 5,到appdelegate中初始化SDK和第三方平台 6,添加实现代码 7,支持微信的话,添加URL TYPES 里的appid 8,appdelegate添加对应的handleOpenURL跳转响应

2016-05-16 10:20:28 559

转载 iOS一段文字设置多种颜色格式

http://www.jianshu.com/p/362966c97d2b

2016-05-09 18:06:31 416

转载 NSString和NSNumber的相互转化

1、   NSString 转 NSNumber         NSString *str = @"120".      NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];     [numberFormatter setNumberStyle:NSNumbe

2016-05-07 18:56:51 866

空空如也

空空如也

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

TA关注的人

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