ChenYilong / ChenYilong/iOS13AdaptationTips

模态界面默认交互改变

Open
#13 11 comments 0 reactions 0 assignees View on GitHub
note
Dominant language
No language data
Stars
170
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Action

- 建议任务模式下开启
- 建议保留关闭按钮,满足残障人士语音操作。

## 正文

13的present 默认有视差效果,模态出来的界面现在默认都下滑返回。

![](http://ww2.sinaimg.cn/large/006tNc79ly1g3vy7ayco1g30cg0qob2i.gif)
![](http://ww4.sinaimg.cn/large/006tNc79ly1g3vyvzrtfdg30cg0qohe1.gif)

一些页面必须要点确认才能消失的,需要适配。

如果项目中页面高度全部是屏幕尺寸,那么多出来的导航高度会出现问题。

可以 手动写

```Objective-C
self.modalPresentationStyle = .fullScreen
```

//TODO:

有很多自定义的弹框,使用的是 .custom ,sheet alert bubble 之类。

![](http://ww4.sinaimg.cn/large/006tNc79ly1g3vyc6h8wmg30800hs0wg.gif)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.