ChenYilong / ChenYilong/iOS13AdaptationTips

UIScreen.setBrightness crash in global thread

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
170
Forks
5
PR merge metrics
No merged PRs in 30d

Description

`UIScreen.setBrightness` will crash on iOS 13 in global thread, which preform normally before iOS 13.
Crash stack:
![image](https://user-images.githubusercontent.com/50360644/62934255-a935f180-bdf6-11e9-935b-fe7c34fc4b6d.png)

It will be ok if I dispatch to main queue on iOS 13

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.