- 博客(6)
- 收藏
- 关注
原创 解决iPhoneX push时tabbar上移的bug
重写push方法- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated { if (self.childViewControllers.count > 0) { // 隐藏tabbar viewController.hid
2017-10-30 11:40:02
1637
原创 iOS11 图片下拉放大,出现信号栏白条的bug解决
if(@available(iOS11.0, *)) {self.tableView.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever;}else{// Fallback on earlier versionsself.automaticallyAdjustsScroll
2017-09-26 14:48:42
999
原创 iOS 模仿腾讯新闻首页,指示条及顶部滚动条效果
//// ViewController.m// 腾讯新闻模仿//// Created by Eva on 2017/7/7.// Copyright © 2017年 shanghaiWOW. All rights reserved.//#import "ViewController.h"#import "TabViewController.h"#import "Masonry
2017-07-18 13:11:29
1825
原创 iOS查看多张图片,并且添加双击手势,转场动画
负责跳转deviewController//// ViewController.m// PushImageTest//// Created by Eva on 17/4/10.// Copyright © 2017年 Eva. All rights reserved.//#import "ViewController.h"#import "ImageViewContr
2017-04-11 17:11:09
570
原创 iOS 项目中用到的拖拽界面动画
#define WIDTH UIScreen.mainScreen.bounds.size.width#define HEIGHT UIScreen.mainScreen.bounds.size.height#import "ViewController.h"@interface ViewController ()UITableViewDataSource
2017-03-24 12:07:13
763
转载 iOS与js交互的2种方法
- (void)viewDidLoad { [superviewDidLoad]; UIWebView *webView = [[UIWebViewalloc] initWithFrame:self.view.bounds]; NSString *filePath = [[NSBundlemainBundle] pathForResource:
2017-03-24 12:02:59
418
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人