Skip to content

Commit

Permalink
Set CADisableMinimumFrameDurationOnPhone to true
Browse files Browse the repository at this point in the history
Enables 120Hz display on ProMotion iPhones
  • Loading branch information
jmshrv committed Jul 30, 2023
1 parent dd72a35 commit e86c5d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Runner/Info-Debug.plist
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@
<false/>
<key>NSLocalNetworkUsageDescription</key>
<string>Required for debugging</string>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions ios/Runner/Info-Profile.plist
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@
<false/>
<key>NSLocalNetworkUsageDescription</key>
<string>Required for debugging</string>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions ios/Runner/Info-Release.plist
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
Expand Down

0 comments on commit e86c5d7

Please sign in to comment.