Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

[Bug] Access to DeviceDisplay.MainDisplayInfo crashes App on iOS 10.2 #1818

Closed
cpraehaus opened this issue May 31, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@cpraehaus
Copy link
Contributor

Description

Steps to Reproduce

  1. Access DeviceDisplay.MainDisplayInfo on iOS 10.2

Expected Behavior

Display info is returned.

Actual Behavior

App crashes.

Basic Information

  • Version with issue: 1.6.1
  • Last known good version: 1.5.3.2
  • IDE:
  • Platform Target Frameworks:
    • iOS: 10.2
  • Affected Devices: iPhone/iPad with iOS 10.2 or lower

The feature merged with #1443 accesses property maximumFramesPerSecond which was added with iOS 10.3 but is not supported/known on earlier iOS versions. Thus the app crashes with the following error:
[UIScreen maximumFramesPerSecond]: unrecognized selector sent to instance 0x10615b610

Screenshots

NA

Reproduction Link

NA

@cpraehaus cpraehaus added the bug Something isn't working label May 31, 2021
@cpraehaus
Copy link
Contributor Author

Maybe related to #1679 ?

cpraehaus added a commit to cpraehaus/Essentials that referenced this issue May 31, 2021
@Redth
Copy link
Member

Redth commented Jul 12, 2021

Fixed by #1731

@Redth Redth closed this as completed Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants