Skip to content

Commit

Permalink
Set Preferred Frame Rate
Browse files Browse the repository at this point in the history
  • Loading branch information
b3ll committed Jun 2, 2024
1 parent 5b1574e commit cbef2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/DebugAdjustableDemo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
Animator.shared.preferredFrameRateRange = CAFrameRateRange(minimum: 80.0, maximum: 120.0)
Animator.shared.preferredFrameRateRange = CAFrameRateRange(minimum: 80.0, maximum: 120.0, preferred: 120.0)
return true
}

Expand Down

0 comments on commit cbef2b7

Please sign in to comment.