Coder Social home page Coder Social logo

windisv587 / copysource Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhengwenming/copysource

0.0 2.0 0.0 5.49 MB

iOS项目框架问题(baseVC,baseNav、全屏返回手势、旋转屏幕、截获back返回事件、定制不同VC的返回按钮,iOS 11适配等等)

License: MIT License

Objective-C 100.00%

copysource's Introduction

CopySource

iOS项目框架问题(baseVC,baseNav、全屏返回手势、旋转屏幕、截获back返回事件、定制不同VC的返回按钮等等)

//-------项目涵盖知识点**-----------

//1、全屏返回(cell左滑动删除的手势冲突,支持全屏和不支持全屏)

//2、左边返回按钮POP点击事件拦截(获取)

//3、BaseNav和BaseVC封装

//4、关于rootVC(登录登出设计)

//5、关于launchImage(删除了之前旧的image并且删除了手机APP,安装后还是旧图,上线后App Store上下载的也还是旧图,WTF!)

//6、iOS旋转屏幕(视频WMPlayer+浏览器+VR)

//7、“让我们一次性解决导航栏的所有问题”(设计思路或bug或技术问题)

//7.1、透明导航栏

//7.2 不同颜色的导航栏

//7.3 不同返回按钮

//7.4 不带导航-->push 到 带导航的页面,手势返回bug

//7.5 动态改变导航栏的透明度

//8、适配iPhone X和iOS 11

   //8.1 扩大iOS 11上返回按钮的点击范围,解决iOS 11上难点击导航栏按钮的bug

     //8.2 导航栏nav和Tabbar的适配

       //8.3 添加和修改了一些适配iOS 11的宏

   //8.4 修正push过程中tabbar上移问题

if (@available(iOS 11.0, *)){
    // 修改tabBra的frame
    CGRect frame = self.tabBarController.tabBar.frame;
    frame.origin.y = [UIScreen mainScreen].bounds.size.height - frame.size.height;
    self.tabBarController.tabBar.frame = frame;
}

   

copysource's People

Contributors

zhengwenming avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.