GithubHelp home page GithubHelp logo

ios11's Introduction

iOS 11

这里总结了大家iOS 11,iPhone X 适配问题

#点击右上角的 star、watch 按钮,可以收藏本仓库,看到本仓库的更新!

iOS 11适配

简书App适配iOS 11

掘金客户端适配iOS11简单记录

iOS 11 安全区域适配总结

iOS开发-适配iOS 11

适配iOS11&iPhoneX的一些坑

完美适配 iOS11 导航栏

腾讯WeTest 你可能需要为你的APP适配iOS11

iOS 11 适配看这篇还不够?

iPhone X 适配

饿了么 UED iPhone X设计适配指南 & iOS 11新特性

iPhone X 适配

iPhone X 的 UI界面适配官方指南

iOS11 & iPhone X 适配指南

iOS iPhone X 适配启动图片

三分钟弄懂iPhone X 设计尺寸和适配

iPhone X 适配指南 (官方版)

随手记在iPhone X上的适配实践总结

美团iPhone X 刘海打理指北

H5页面如何适配iPhone X ?腾讯设计师给出了通用解决方案

2017.9.21 增加iPhone X 上TabBar拉伸的,压缩的问题

如果是那种自定义TabBar中间是按钮的这种操作,我试了一下,之前中间按钮的高度设置的是TabBar的高度( CGFloat buttonH = self.frame.size.height;),现在直接赋值,也可以解决这种问题 。CGFloat buttonH = 49;

TabBar被拉伸的解决方法

ios 11 UITabBar UITabBarItem positioning issue

奇点在 iPhone X 的 break

2017.9.28 增加界面底部不带TabBar,iPhone X适配的问题

今天有小伙伴询问了界面底部不带TabBar,iPhone X底部圆角导致,界面不美观,怎么解决。

解决办法:

1.tableView在初始化的时候,Height增加一个宏,判断一下,如果是iPhone X 底部留,34px。

2.保持view的backgroundColor跟tableView一致。

 #define IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES)

 #define Height (IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height-34):([[UIScreen mainScreen] bounds].size.height))

iOS 11获取设备名称

if ([platform isEqualToString:@"iPhone10,1"]) return @"iPhone 8";
if ([platform isEqualToString:@"iPhone10,4"]) return @"iPhone 8";
if ([platform isEqualToString:@"iPhone10,2"]) return @"iPhone 8 Plus";
if ([platform isEqualToString:@"iPhone10,5"]) return @"iPhone 8 Plus";
if ([platform isEqualToString:@"iPhone10,3"]) return @"iPhone X";
if ([platform isEqualToString:@"iPhone10,6"]) return @"iPhone X";

ios11's People

Contributors

2877025939 avatar

Watchers

caodongdong 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.