自定义博客皮肤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)
  • 收藏
  • 关注

转载 NavigationController的视图,滑动手势返回

iOS 7中在传统的左上角返回键之外,提供了右滑返回上一级界面的手势。支持此手势的是UINavigationController中新增的属性 interactivePopGestureRecognizer,即右滑返回只支持以UINavigationController为容器的ViewController间切换,要想在自定义容器中使用,需要一些额外的工作。 基本地,控制ViewContr

2016-01-30 10:52:23 1947

原创 隐藏导航栏下划线

- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController.navigationBar setBackgroundImage:[self buttonImageFromColor:[UIColor colorWithHex:@"#ffffff"

2015-11-19 20:49:22 1229

原创 设置hidesBottomBarWhenPushed无效果

在viewDidLoad中设置hidesBottomBarWhenPushed无效果,在init方法中设置可以生效

2015-10-15 15:49:51 1120

原创 iOS 点击状态栏回滚scrollView顶部

// When the user taps the status bar, the scroll view beneath the touch which is closest to the status bar will be scrolled to top, but only if its `scrollsToTop` property is YES, its delegate does no

2015-07-13 11:38:56 1334

原创 oc中文转字符串

#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; CFMutableStringRef string = CFStringCreateMutabl

2015-06-11 18:01:09 429

原创 ios毛玻璃效果

#import "ViewController.h" #import "UIImage+ImageEffects.h" @interface ViewController ()// 点击手势 @property (strong, nonatomic) IBOutlet UITapGestureRecognizer *tapGesture;// 背景图片 @property (weak, nona

2015-06-11 17:52:43 333

空空如也

空空如也

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

TA关注的人

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