![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS开发
baymark
小菜鸟
展开
-
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 · 325 阅读 · 0 评论 -
oc中文转字符串
#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; CFMutableStringRef string = CFStringCreateMutabl原创 2015-06-11 18:01:09 · 401 阅读 · 0 评论 -
设置hidesBottomBarWhenPushed无效果
在viewDidLoad中设置hidesBottomBarWhenPushed无效果,在init方法中设置可以生效原创 2015-10-15 15:49:51 · 1091 阅读 · 0 评论 -
隐藏导航栏下划线
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController.navigationBar setBackgroundImage:[self buttonImageFromColor:[UIColor colorWithHex:@"#ffffff"原创 2015-11-19 20:49:22 · 1220 阅读 · 0 评论 -
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 · 1302 阅读 · 0 评论 -
NavigationController的视图,滑动手势返回
iOS 7中在传统的左上角返回键之外,提供了右滑返回上一级界面的手势。支持此手势的是UINavigationController中新增的属性 interactivePopGestureRecognizer,即右滑返回只支持以UINavigationController为容器的ViewController间切换,要想在自定义容器中使用,需要一些额外的工作。 基本地,控制ViewContr转载 2016-01-30 10:52:23 · 1901 阅读 · 0 评论