Comments (8)
这个需求其实在 UIViewController 中非常容易实现,在 viewWillLayoutSubviews
方法中隐藏即可……框架也可以实现,等我手上工作松一点可以考虑加上。
另外微信这样做我不认为是一个 Feature,而是一个解决 Bug 的方案。微信的 ActionSheet 在之前的版本中有一个 Bug,转屏后不会重新渲染布局,比如竖屏下 show,旋转到横屏,ActionSheet 并没有横向拓展,而是占了屏幕左半部分,后面的版本中我发现微信改成了转屏时 hide ActionSheet。
这是一个有趣的事情。
from lcactionsheet.
from lcactionsheet.
厉害!!!
from lcactionsheet.
正常的样式应该是这样的:
当然并不是说微信的工程师不会写布局……而是这确实是有 Bug 的,interesting……
from lcactionsheet.
所以当前至少我们这个横竖屏不会出 Bug,因为是 AutoLayout…… 不过这个需求我有空加上了再@你吧。
from lcactionsheet.
好的,多谢。。。
from lcactionsheet.
已实现该需求,见 V 3.1.0。
from lcactionsheet.
Done.
from lcactionsheet.
Related Issues (20)
- 请尽快新版本,十万火急 HOT 5
- 区分点击空白区域或cancelButton HOT 1
- without title HOT 3
- 并没有适配iphoneX HOT 3
- 最大高度问题? HOT 3
- 能自定义每一行按钮的颜色吗? HOT 1
- 挺好用的 HOT 1
- carthage install error HOT 1
- pod 报错 HOT 2
- iphonexs and iphonexMax screen adaptation HOT 3
- 为什么3.5.1版本没有呢?最新的是3.5.0 HOT 1
- 用clicked的block形式,会与SVProgressHUD冲突 HOT 2
- 释放不掉UIwindow
- 项目太依赖Masonry,有的用的SnpKit。导致还得导入两个库。不划算 HOT 1
- 希望可以自定义页面UI,比如可以设置圆角这些。方框太丑了
- lc_isX 方法建议改下 下次出个别的高度又要改
- 建议添加的需求-圆角。👇 HOT 4
- 怎样设圆角
- 设置取消按钮的背景色无效
- hey, why exec [actionSheet show]; not show HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcactionsheet.