自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 一键横屏--------纠结了好久

竖屏点击按钮 旋转到横屏 [[UIDevice currentDevice] setValue:[NSNumber numberWithInteger:UIDeviceOrientationPortrait] forKey:@"orientation"];//这句话是防止手动先把设备置为横屏,导致下面的语句失效.     [[UIDevice currentDevice] setValue:[

2015-10-23 17:06:00 745

转载 升级Xcode7-directory not found for option

ld: warning: directory not found for option '-F/Applications/Xcode 7.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

2015-09-23 12:20:01 340

转载 iOS 修改webView字体大小,设置宽度及缩放效果

1.设置字体大小 -(void)webViewDidFinishLoad:(UIWebView *)webView { [webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('body')[0].style.webkitTextSizeAdjust= '40%'"];//修改百分比

2015-09-10 15:30:31 2783

转载 CocoaPods中的头文件import导入时不能自动补齐的解决方法

下面是stackoverflow上的解决办法:     Go to the Target > \”Build Settings\” tab and find the \”User Header Search Paths\” setting.     Set this to \”$(BUILT_PRODUCTS_DIR)\” and check the \”Recursive\” che

2015-07-24 11:09:38 305

原创 Redundant binary upload..... IOS app上架提示错误

CFBundleVersion: 代表build number,必须每个包不同 CFBundleShortVersionString: 发布版本号 以上新包的CFBundleVersion递增就可以了。

2015-07-23 18:52:08 425

转载 对UITextField内容实时监听长度和内容

在UISearchBar中,当输入信息改变时,它就会调用textDidChange函数,但是UITextField没有这个功能,唯一与这个类似的 shouldChangeCharactersInRange函数,也是在文件还没有改变前就调用了,而不是在改变后调用,要想实现这个功能,我们可以增加事件监听的方式,这个与java的listener类似.先来看看objective-c提供的接口: //

2015-07-13 12:59:01 1285

原创 如果Cell设置了 titlelabel Titlelabel会覆盖加在cell上面的其他控件

方法就是  自己重新定义一个  titlelabel

2015-07-10 16:44:35 587

转载 AF解析Json出错的时候 这样看提示信息

AF解析json出错:   Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not se

2015-06-30 19:06:28 492

原创 IOS8下,令cell的分割线左右距离设置为0

-(void)viewDidLayoutSubviews {     if ([_NewList respondsToSelector:@selector(setSeparatorInset:)]) {         [_NewList setSeparatorInset:UIEdgeInsetsMake(0,0,0,0)];     }          if ([_NewList

2015-05-12 20:07:09 547

iOS_Animations_by_Tutorials_v3.1

iOS_Animations_by_Tutorials_v3.1,CAAnimation的经典著作,纯swift编写.

2018-09-05

Python Cookbook 第三版中文

Python Cookbook 第三版中文,学习Python的神兵利器,体积小,丝毫不影响阅读

2018-09-05

AirServer 7

把手机屏幕轻松投影道mac ,包括声音.

2016-09-02

cornerstone破解版for mac

cornerstone破解版for mac

2016-07-13

css设计指南

喜欢css网页制作的人可以看看 绝对好东西

2014-03-26

空空如也

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

TA关注的人

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