Skip to content

xushuangqing/aBuggyViewController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A buggy demo

I just want to present a landscape view controller from a portait view controller, but sometimes (especially when the main thread is busy) the presented view controller will be misplaced.

Here is a screenshot

However, when I print [UIScreen mainScreen].bounds or [Application sharedApplication].keyWindow or [Application sharedApplication].interfaceOrientation, they are all right.

This bug only appears on iOS10.

Run this demo and click the button, the bug will be shown occasionally, about 10%.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published