Skip to content

Commit

Permalink
Add CADisableMinimumFrameDurationOnPhone and set true in Info.plist t…
Browse files Browse the repository at this point in the history
…o support high frequency rendering on iPhones
  • Loading branch information
onseok committed Dec 13, 2023
1 parent cfe5f85 commit 743815e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sample/ios/peekaboo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
340D7E462B24339A00627F7D /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
340D7E482B24339B00627F7D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
340D7E4B2B24339B00627F7D /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
34301AE02B29A947000D8091 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -51,6 +52,7 @@
340D7E432B24339A00627F7D /* peekaboo */ = {
isa = PBXGroup;
children = (
34301AE02B29A947000D8091 /* Info.plist */,
340D7E442B24339A00627F7D /* peekabooApp.swift */,
340D7E462B24339A00627F7D /* ContentView.swift */,
340D7E482B24339B00627F7D /* Assets.xcassets */,
Expand Down Expand Up @@ -297,6 +299,7 @@
ENABLE_PREVIEWS = YES;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../common/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = peekaboo/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "This app uses camera for capturing photos";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
Expand Down Expand Up @@ -333,6 +336,7 @@
ENABLE_PREVIEWS = YES;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../common/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = peekaboo/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "This app uses camera for capturing photos";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
Expand Down
8 changes: 8 additions & 0 deletions sample/ios/peekaboo/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>

0 comments on commit 743815e

Please sign in to comment.