├── demo.gif ├── .gitattributes ├── HideNotch ├── .gitattributes ├── launch.mov ├── notch@3x.png ├── statusbar@3x.png ├── navigationbar@3x.png ├── Settings.bundle │ ├── en.lproj │ │ └── Root.strings │ └── Root.plist ├── Assets.xcassets │ └── AppIcon.appiconset │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ ├── Icon-App-20x20@2x-1.png │ │ ├── Icon-App-29x29@2x-1.png │ │ ├── Icon-App-40x40@2x-1.png │ │ ├── Icon-App-512x512@2x.png │ │ ├── Icon-App-83.5x83.5@2x.png │ │ └── Contents.json ├── LaunchViewController.h ├── NotCapableViewController.h ├── Preferences.h ├── ViewController.h ├── AppDelegate.h ├── main.m ├── NotCapableViewController.m ├── Preferences.m ├── .gitignore ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── AppDelegate.m ├── LaunchViewController.m └── ViewController.m ├── HideNotch.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── project.pbxproj ├── LICENSE ├── README.md └── .gitignore /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/demo.gif -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto -------------------------------------------------------------------------------- /HideNotch/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto -------------------------------------------------------------------------------- /HideNotch/launch.mov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/launch.mov -------------------------------------------------------------------------------- /HideNotch/notch@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/notch@3x.png -------------------------------------------------------------------------------- /HideNotch/statusbar@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/statusbar@3x.png -------------------------------------------------------------------------------- /HideNotch/navigationbar@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/navigationbar@3x.png -------------------------------------------------------------------------------- /HideNotch/Settings.bundle/en.lproj/Root.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Settings.bundle/en.lproj/Root.strings -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x-1.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x-1.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x-1.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-512x512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-512x512@2x.png -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naituw/CutTheNotch/HEAD/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /HideNotch.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /HideNotch/LaunchViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LaunchViewController.h 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LaunchViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /HideNotch/NotCapableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NotCapableViewController.h 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NotCapableViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /HideNotch/Preferences.h: -------------------------------------------------------------------------------- 1 | // 2 | // Preferences.h 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Preferences : NSObject 12 | 13 | + (BOOL)recordModeEnabled; 14 | + (BOOL)deviceNotCapable; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /HideNotch/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // HideNotch 4 | // 5 | // Created by 吴天 on 2017/11/10. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | @property (nonatomic, strong) NSURL * videoURL; 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /HideNotch/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // HideNotch 4 | // 5 | // Created by 吴天 on 2017/11/10. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /HideNotch/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HideNotch 4 | // 5 | // Created by 吴天 on 2017/11/10. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /HideNotch/NotCapableViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // NotCapableViewController.m 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import "NotCapableViewController.h" 10 | 11 | @interface NotCapableViewController () 12 | 13 | @end 14 | 15 | @implementation NotCapableViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /HideNotch/Preferences.m: -------------------------------------------------------------------------------- 1 | // 2 | // Preferences.m 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import "Preferences.h" 10 | #import 11 | 12 | @implementation Preferences 13 | 14 | + (BOOL)recordModeEnabled 15 | { 16 | static BOOL enabled = NO; 17 | static dispatch_once_t onceToken; 18 | dispatch_once(&onceToken, ^{ 19 | enabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"record_mode_enabled"]; 20 | }); 21 | return enabled; 22 | } 23 | 24 | + (BOOL)deviceNotCapable 25 | { 26 | static BOOL capable = NO; 27 | static dispatch_once_t onceToken; 28 | dispatch_once(&onceToken, ^{ 29 | capable = [UIApplication sharedApplication].windows.firstObject.safeAreaInsets.top >= 44; 30 | }); 31 | return !capable; 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /HideNotch/Settings.bundle/Root.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | StringsTable 6 | Root 7 | PreferenceSpecifiers 8 | 9 | 10 | Type 11 | PSToggleSwitchSpecifier 12 | Title 13 | Record Mode 14 | Key 15 | record_mode_enabled 16 | DefaultValue 17 | 18 | 19 | 20 | Type 21 | PSGroupSpecifier 22 | Title 23 | 24 | FooterText 25 | Record Mode let you create your own version of Cut the Notch launch video easily: 1. QuickTimePlayer on your Mac, Select "File" - "New Video Recording"; 2. Record a video clip when you launch "Cut The Notch"; 3. Trim the clip and Airdrop the your iPhone 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 wutian 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cut The Notch - The Magic Trick 2 | 3 | ![icon](https://github.com/Naituw/CutTheNotch/raw/master/HideNotch/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5%402x.png) 4 | 5 | This app helps your create an illusion that you can hide the iPhone X notch 6 | 7 | ![](demo.gif) 8 | 9 | ## Trick Steps 10 | 11 | 1. App will show a fake "notch" on the bottom of the screen 12 | 2. Hold the phone upside down, and hide the real notch with your fingers 13 | 3. By pressing the "Hide/Show" button, the fake "notch" hides and shows 14 | 15 | ## App Store ? 16 | 17 | I've already tried submit this app to AppStore, but get rejected at the end: 18 | 19 | > Your app's metadata contains misleading content or content that is intended to deceive users. 20 | > 21 | > Specifically, your app is a magic trick using an Apple interface. 22 | > 23 | > Please note that adding a disclaimer to the app description is not sufficient if the rest of the metadata and the app are misleading. 24 | > 25 | > Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. 26 | 27 | ## Credits 28 | 29 | Inspired by @stroughtonsmith 30 | - https://twitter.com/stroughtonsmith/status/928807517710356480 31 | 32 | Design & Code by @naituw 33 | - https://weibo.com/1774390367 34 | - https://twitter.com/naituw 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/Preview.html 54 | fastlane/screenshots 55 | fastlane/test_output 56 | 57 | # Code Injection 58 | # 59 | # After new code Injection tools there's a generated folder /iOSInjectionProject 60 | # https://github.com/johnno1962/injectionforxcode 61 | 62 | iOSInjectionProject/ 63 | -------------------------------------------------------------------------------- /HideNotch/.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/Preview.html 54 | fastlane/screenshots 55 | fastlane/test_output 56 | 57 | # Code Injection 58 | # 59 | # After new code Injection tools there's a generated folder /iOSInjectionProject 60 | # https://github.com/johnno1962/injectionforxcode 61 | 62 | iOSInjectionProject/ 63 | -------------------------------------------------------------------------------- /HideNotch/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /HideNotch/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | Cut The Notch 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 3 23 | LSRequiresIPhoneOS 24 | 25 | NSPhotoLibraryUsageDescription 26 | Let you provide the custom launch video 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | nfc 35 | 36 | UIStatusBarHidden 37 | 38 | UIStatusBarStyle 39 | UIStatusBarStyleBlackOpaque 40 | UISupportedInterfaceOrientations 41 | 42 | UIInterfaceOrientationLandscapeLeft 43 | UIInterfaceOrientationPortrait 44 | 45 | UISupportedInterfaceOrientations~ipad 46 | 47 | UIInterfaceOrientationPortrait 48 | UIInterfaceOrientationPortraitUpsideDown 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | UIViewControllerBasedStatusBarAppearance 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /HideNotch/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@2x.png", 19 | "scale" : "2x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@3x.png", 25 | "scale" : "3x" 26 | }, 27 | { 28 | "size" : "40x40", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-40x40@2x.png", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@3x.png", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-60x60@2x.png", 43 | "scale" : "2x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@3x.png", 49 | "scale" : "3x" 50 | }, 51 | { 52 | "size" : "20x20", 53 | "idiom" : "ipad", 54 | "filename" : "Icon-App-20x20@1x.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@2x-1.png", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "size" : "29x29", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-29x29@1x.png", 67 | "scale" : "1x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@2x-1.png", 73 | "scale" : "2x" 74 | }, 75 | { 76 | "size" : "40x40", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-40x40@1x.png", 79 | "scale" : "1x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@2x-1.png", 85 | "scale" : "2x" 86 | }, 87 | { 88 | "size" : "76x76", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-76x76@1x.png", 91 | "scale" : "1x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@2x.png", 97 | "scale" : "2x" 98 | }, 99 | { 100 | "size" : "83.5x83.5", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-83.5x83.5@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "1024x1024", 107 | "idiom" : "ios-marketing", 108 | "filename" : "Icon-App-512x512@2x.png", 109 | "scale" : "1x" 110 | } 111 | ], 112 | "info" : { 113 | "version" : 1, 114 | "author" : "xcode" 115 | } 116 | } -------------------------------------------------------------------------------- /HideNotch/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // HideNotch 4 | // 5 | // Created by 吴天 on 2017/11/10. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "Preferences.h" 11 | 12 | @interface AppDelegate () 13 | 14 | @end 15 | 16 | @implementation AppDelegate 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | if (![Preferences recordModeEnabled]) { 20 | if ([Preferences deviceNotCapable]) { 21 | UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; 22 | _window.rootViewController = [storyboard instantiateViewControllerWithIdentifier:@"NotCapable"]; 23 | } else { 24 | _window.transform = CGAffineTransformMakeRotation(-M_PI / 2); 25 | } 26 | } else { 27 | UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; 28 | _window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[storyboard instantiateViewControllerWithIdentifier:@"ViewController"]]; 29 | } 30 | return YES; 31 | } 32 | 33 | 34 | - (void)applicationWillResignActive:(UIApplication *)application { 35 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 36 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 37 | } 38 | 39 | 40 | - (void)applicationDidEnterBackground:(UIApplication *)application { 41 | if (![Preferences recordModeEnabled]) { 42 | if (_window.rootViewController.presentedViewController) { 43 | [_window.rootViewController dismissViewControllerAnimated:NO completion:NULL]; 44 | } 45 | } 46 | } 47 | 48 | 49 | - (void)applicationWillEnterForeground:(UIApplication *)application { 50 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 51 | } 52 | 53 | 54 | - (void)applicationDidBecomeActive:(UIApplication *)application { 55 | if ([Preferences recordModeEnabled] != [[NSUserDefaults standardUserDefaults] boolForKey:@"record_mode_enabled"]) { 56 | UIViewController * viewController = self.window.rootViewController; 57 | while (viewController.presentedViewController) { 58 | viewController = viewController.presentedViewController; 59 | } 60 | UIAlertController * alert = [UIAlertController alertControllerWithTitle:@"Restart Required" message:[NSString stringWithFormat:@"You've %@ the Record Mode, Press \"Exit\" and relaunch to take effect", [Preferences recordModeEnabled] ? @"disabled" : @"enabled"] preferredStyle:UIAlertControllerStyleAlert]; 61 | [alert addAction:[UIAlertAction actionWithTitle:@"Exit" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { 62 | exit(0); 63 | }]]; 64 | [viewController presentViewController:alert animated:YES completion:NULL]; 65 | } 66 | } 67 | 68 | 69 | - (void)applicationWillTerminate:(UIApplication *)application { 70 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 71 | } 72 | 73 | 74 | @end 75 | -------------------------------------------------------------------------------- /HideNotch/LaunchViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // LaunchViewController.m 3 | // HideNotch 4 | // 5 | // Created by wutian on 2017/11/12. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import "LaunchViewController.h" 10 | #import 11 | #import 12 | #import "ViewController.h" 13 | 14 | @interface LaunchViewController () 15 | 16 | @property (weak, nonatomic) IBOutlet UILabel *instructionLabel; 17 | @property (weak, nonatomic) IBOutlet UIButton *startButton; 18 | @property (weak, nonatomic) IBOutlet UIButton *customStartButton; 19 | @property (weak, nonatomic) IBOutlet UILabel *homeIndicatorLabel; 20 | @property (weak, nonatomic) IBOutlet UITextView *customStartLabel; 21 | 22 | @end 23 | 24 | @implementation LaunchViewController 25 | 26 | - (void)viewDidLoad 27 | { 28 | [super viewDidLoad]; 29 | 30 | _startButton.layer.cornerRadius = 8; 31 | 32 | NSAttributedString * string = _customStartLabel.attributedText; 33 | NSMutableAttributedString * mutableString = [[NSMutableAttributedString alloc] initWithAttributedString:string]; 34 | [mutableString addAttribute:NSLinkAttributeName value:UIApplicationOpenSettingsURLString range:NSMakeRange(mutableString.length - 8, 8)]; 35 | _customStartLabel.attributedText = mutableString; 36 | _customStartLabel.userInteractionEnabled = YES; 37 | _customStartLabel.delegate = self; 38 | } 39 | 40 | - (void)viewWillLayoutSubviews 41 | { 42 | [super viewWillLayoutSubviews]; 43 | 44 | CGRect bounds = self.view.bounds; 45 | _startButton.center = CGPointMake(CGRectGetMidX(bounds), bounds.size.height - 250); 46 | 47 | { 48 | CGRect frame = _customStartButton.frame; 49 | frame.origin.y = CGRectGetMaxY(_startButton.frame); 50 | _customStartButton.frame = frame; 51 | } 52 | 53 | { 54 | CGRect frame = _customStartLabel.frame; 55 | frame.origin.y = CGRectGetMaxY(_customStartButton.frame); 56 | frame.origin.y -= 10; 57 | _customStartLabel.frame = frame; 58 | } 59 | 60 | _homeIndicatorLabel.center = CGPointMake(CGRectGetMidX(bounds), CGRectGetMidY(bounds)); 61 | } 62 | 63 | - (IBAction)cutomStartButtonPressed:(id)sender 64 | { 65 | UIImagePickerController * pickerController = [[UIImagePickerController alloc] init]; 66 | pickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; 67 | pickerController.mediaTypes = @[(id)kUTTypeQuickTimeMovie, (id)kUTTypeVideo, (id)kUTTypeMovie]; 68 | pickerController.delegate = self; 69 | [self presentViewController:pickerController animated:YES completion:NULL]; 70 | } 71 | 72 | - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker 73 | { 74 | [picker dismissViewControllerAnimated:YES completion:NULL]; 75 | } 76 | 77 | - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info 78 | { 79 | [picker dismissViewControllerAnimated:YES completion:^{ 80 | NSURL * url = info[UIImagePickerControllerMediaURL]; 81 | if (url) { 82 | UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; 83 | ViewController * viewController = [storyboard instantiateViewControllerWithIdentifier:@"ViewController"]; 84 | viewController.videoURL = url; 85 | [self presentViewController:[[UINavigationController alloc] initWithRootViewController:viewController] animated:NO completion:NULL]; 86 | } 87 | }]; 88 | } 89 | 90 | - (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction 91 | { 92 | return interaction == UITextItemInteractionInvokeDefaultAction; 93 | } 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /HideNotch/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // HideNotch 4 | // 5 | // Created by 吴天 on 2017/11/10. 6 | // Copyright © 2017年 Weibo. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "Preferences.h" 11 | #import 12 | 13 | @interface ViewController () 14 | 15 | @property (weak, nonatomic) IBOutlet UIButton *button; 16 | @property (nonatomic, strong) UIImageView * statusBarView; 17 | @property (nonatomic, strong) UIImageView * notchView; 18 | @property (nonatomic, assign) BOOL showsNotch; 19 | 20 | @property (nonatomic, strong) AVPlayerLayer * playerLayer; 21 | @property (nonatomic, strong) UIControl * startPlayButton; 22 | @property (nonatomic, strong) UIPanGestureRecognizer * panGesture; 23 | 24 | @end 25 | 26 | @implementation ViewController 27 | 28 | - (void)viewDidLoad 29 | { 30 | [super viewDidLoad]; 31 | 32 | self.title = @"Cut The Notch"; 33 | 34 | if ([Preferences recordModeEnabled] || [Preferences deviceNotCapable]) { 35 | [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault]; 36 | [[UIApplication sharedApplication] setStatusBarHidden:NO]; 37 | } else { 38 | [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; 39 | [[UIApplication sharedApplication] setStatusBarHidden:YES]; 40 | } 41 | 42 | self.button.layer.cornerRadius = 8.0; 43 | } 44 | 45 | - (void)viewWillAppear:(BOOL)animated 46 | { 47 | [super viewWillAppear:animated]; 48 | 49 | if (![Preferences recordModeEnabled]) { 50 | UIWindow * window = [UIApplication sharedApplication].keyWindow; 51 | 52 | if (![Preferences deviceNotCapable]) { 53 | [window addSubview:self.statusBarView]; 54 | [window.layer addSublayer:self.playerLayer]; 55 | } 56 | [window addSubview:self.notchView]; 57 | 58 | if (![Preferences deviceNotCapable]) { 59 | [window addSubview:self.startPlayButton]; 60 | [self.view setUserInteractionEnabled:NO]; 61 | } 62 | 63 | _showsNotch = YES; 64 | 65 | [self.view setNeedsLayout]; 66 | } 67 | } 68 | 69 | - (void)viewDidDisappear:(BOOL)animated 70 | { 71 | [super viewDidDisappear:animated]; 72 | [_statusBarView removeFromSuperview]; 73 | [_playerLayer removeFromSuperlayer]; 74 | [_notchView removeFromSuperview]; 75 | [_startPlayButton removeFromSuperview]; 76 | } 77 | 78 | - (void)viewDidAppear:(BOOL)animated 79 | { 80 | [super viewDidAppear:animated]; 81 | } 82 | 83 | - (void)viewWillLayoutSubviews 84 | { 85 | [super viewWillLayoutSubviews]; 86 | 87 | [CATransaction begin]; 88 | [CATransaction setDisableActions:YES]; 89 | 90 | UIWindow * window = self.view.window; 91 | CGPoint center = CGPointMake(CGRectGetMidX(window.bounds), CGRectGetMidY(window.bounds)); 92 | _button.center = [self.view convertPoint:center fromView:window]; 93 | 94 | if (_panGesture.state != UIGestureRecognizerStateChanged) { 95 | _notchView.frame = [self notchDefaultFrame]; 96 | } 97 | CGSize statusBarSize = _statusBarView.image.size; 98 | _statusBarView.frame = CGRectMake(0, 0, self.view.bounds.size.width, statusBarSize.height); 99 | _playerLayer.frame = CGRectInset(self.view.bounds, 0, -1.0/3); 100 | 101 | CGRect startPlayButtonFrame = self.view.bounds; 102 | startPlayButtonFrame.size.height -= 60; 103 | _startPlayButton.frame = startPlayButtonFrame; 104 | 105 | [CATransaction commit]; 106 | } 107 | 108 | - (CGRect)notchDefaultFrame 109 | { 110 | CGSize notchSize = _notchView.image.size; 111 | return CGRectMake((self.view.bounds.size.width - notchSize.width) / 2, _showsNotch ? 0 : -notchSize.height, notchSize.width, notchSize.height); 112 | } 113 | 114 | - (UIImageView *)notchView 115 | { 116 | if (!_notchView) { 117 | _notchView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"notch.png"]]; 118 | _notchView.userInteractionEnabled = YES; 119 | _notchView.layer.anchorPoint = CGPointMake(0.5, 0); 120 | 121 | _panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panGestureRecognized:)]; 122 | _panGesture.delegate = self; 123 | 124 | [_notchView addGestureRecognizer:_panGesture]; 125 | } 126 | return _notchView; 127 | } 128 | 129 | - (UIImageView *)statusBarView 130 | { 131 | if (!_statusBarView) { 132 | _statusBarView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"navigationbar.png"]]; 133 | } 134 | return _statusBarView; 135 | } 136 | 137 | - (AVPlayerLayer *)playerLayer 138 | { 139 | if (!_playerLayer) { 140 | NSURL * url = _videoURL ? : [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"launch" ofType:@"mov"]]; 141 | AVPlayer * player = [AVPlayer playerWithURL:url]; 142 | _playerLayer = [AVPlayerLayer playerLayerWithPlayer:player]; 143 | _playerLayer.videoGravity = AVLayerVideoGravityResizeAspectFill; 144 | _playerLayer.backgroundColor = [UIColor blackColor].CGColor; 145 | } 146 | return _playerLayer; 147 | } 148 | 149 | - (UIControl *)startPlayButton 150 | { 151 | if (!_startPlayButton) { 152 | _startPlayButton = [[UIControl alloc] initWithFrame:CGRectZero]; 153 | [_startPlayButton addTarget:self action:@selector(tap:) forControlEvents:UIControlEventTouchUpInside]; 154 | [_startPlayButton setBackgroundColor:[UIColor clearColor]]; 155 | } 156 | return _startPlayButton; 157 | } 158 | 159 | - (void)setShowsNotch:(BOOL)showsNotch 160 | { 161 | if (_showsNotch != showsNotch) { 162 | _showsNotch = showsNotch; 163 | 164 | [_button setTitle:showsNotch ? @"Hide" : @"Show" forState:UIControlStateNormal]; 165 | 166 | [UIView animateWithDuration:0.16 delay:0.0 options:UIViewAnimationOptionBeginFromCurrentState | UIViewAnimationOptionAllowUserInteraction animations:^{ 167 | _notchView.frame = [self notchDefaultFrame]; 168 | } completion:NULL]; 169 | } 170 | } 171 | 172 | - (IBAction)toggleNotch:(id)sender 173 | { 174 | self.showsNotch = !self.showsNotch; 175 | } 176 | 177 | - (void)tap:(id)sender 178 | { 179 | [_startPlayButton removeFromSuperview]; 180 | 181 | [_playerLayer.player play]; 182 | 183 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playerDidPlayToEnd:) name:AVPlayerItemDidPlayToEndTimeNotification object:_playerLayer.player.currentItem]; 184 | } 185 | 186 | - (void)playerDidPlayToEnd:(NSNotification *)notification 187 | { 188 | [_playerLayer removeFromSuperlayer]; 189 | [self.view setUserInteractionEnabled:YES]; 190 | [[NSNotificationCenter defaultCenter] removeObserver:self name:AVPlayerItemDidPlayToEndTimeNotification object:nil]; 191 | } 192 | 193 | - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer 194 | { 195 | CGPoint translation = [_panGesture translationInView:_notchView]; 196 | if (ABS(translation.x) > ABS(translation.y)) { 197 | return NO; 198 | } 199 | if (translation.y < 0) { 200 | return NO; 201 | } 202 | return YES; 203 | } 204 | 205 | - (void)panGestureRecognized:(UIPanGestureRecognizer *)gesture 206 | { 207 | switch (gesture.state) { 208 | case UIGestureRecognizerStateBegan: { 209 | } 210 | break; 211 | case UIGestureRecognizerStateChanged: { 212 | CGFloat notchHeight = _notchView.image.size.height; 213 | CGFloat targetHeight = notchHeight + [gesture translationInView:self.view].y / 2; 214 | _notchView.transform = CGAffineTransformMakeScale(1, targetHeight / notchHeight); 215 | } 216 | break; 217 | case UIGestureRecognizerStateCancelled: 218 | case UIGestureRecognizerStateEnded: { 219 | [UIView animateWithDuration:0.25 delay:0.0 usingSpringWithDamping:0.7 initialSpringVelocity:0 options:UIViewAnimationOptionBeginFromCurrentState animations:^{ 220 | _notchView.transform = CGAffineTransformIdentity; 221 | } completion:NULL]; 222 | } 223 | break; 224 | default: 225 | break; 226 | } 227 | } 228 | 229 | - (UIRectEdge)preferredScreenEdgesDeferringSystemGestures 230 | { 231 | return UIRectEdgeAll; 232 | } 233 | 234 | - (BOOL)prefersStatusBarHidden 235 | { 236 | if ([Preferences recordModeEnabled]) { 237 | return NO; 238 | } else { 239 | return YES; 240 | } 241 | } 242 | 243 | @end 244 | 245 | @interface UIViewController (Orientation) 246 | 247 | @end 248 | 249 | @implementation UIViewController (Orientation) 250 | 251 | - (UIInterfaceOrientationMask)supportedInterfaceOrientations 252 | { 253 | if ([Preferences recordModeEnabled] || [Preferences deviceNotCapable]) { 254 | return UIInterfaceOrientationMaskPortrait; 255 | } else { 256 | return UIInterfaceOrientationMaskLandscapeLeft; 257 | } 258 | } 259 | 260 | @end 261 | 262 | @interface UINavigationController (Orientation) 263 | 264 | @end 265 | 266 | @implementation UINavigationController (Orientation) 267 | 268 | - (UIInterfaceOrientationMask)supportedInterfaceOrientations 269 | { 270 | return self.topViewController.supportedInterfaceOrientations; 271 | } 272 | 273 | @end 274 | -------------------------------------------------------------------------------- /HideNotch/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 75 | 82 | 91 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 127 | 134 | 141 | 148 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /HideNotch.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 48; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | C618F54B1FB808550056E4F4 /* LaunchViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C618F54A1FB808550056E4F4 /* LaunchViewController.m */; }; 11 | C618F54E1FB8155C0056E4F4 /* NotCapableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C618F54D1FB8155C0056E4F4 /* NotCapableViewController.m */; }; 12 | C618F5501FB818530056E4F4 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C618F54F1FB818530056E4F4 /* Settings.bundle */; }; 13 | C618F5531FB818D20056E4F4 /* Preferences.m in Sources */ = {isa = PBXBuildFile; fileRef = C618F5521FB818D20056E4F4 /* Preferences.m */; }; 14 | C65564711FB7659900FBE049 /* navigationbar@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = C65564701FB7659800FBE049 /* navigationbar@3x.png */; }; 15 | C6ACA5BF1FB55444001D43A2 /* notch@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6ACA5BE1FB55444001D43A2 /* notch@3x.png */; }; 16 | C6ACA5C11FB5819D001D43A2 /* launch.mov in Resources */ = {isa = PBXBuildFile; fileRef = C6ACA5C01FB5819D001D43A2 /* launch.mov */; }; 17 | C6ACA5C31FB583A6001D43A2 /* statusbar@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = C6ACA5C21FB583A5001D43A2 /* statusbar@3x.png */; }; 18 | C6EC097F1FB54AF20028596C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EC097E1FB54AF20028596C /* AppDelegate.m */; }; 19 | C6EC09821FB54AF20028596C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EC09811FB54AF20028596C /* ViewController.m */; }; 20 | C6EC09851FB54AF20028596C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6EC09831FB54AF20028596C /* Main.storyboard */; }; 21 | C6EC09871FB54AF20028596C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C6EC09861FB54AF20028596C /* Assets.xcassets */; }; 22 | C6EC098A1FB54AF20028596C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6EC09881FB54AF20028596C /* LaunchScreen.storyboard */; }; 23 | C6EC098D1FB54AF20028596C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C6EC098C1FB54AF20028596C /* main.m */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXFileReference section */ 27 | C618F5491FB808550056E4F4 /* LaunchViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LaunchViewController.h; sourceTree = ""; }; 28 | C618F54A1FB808550056E4F4 /* LaunchViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LaunchViewController.m; sourceTree = ""; }; 29 | C618F54C1FB8155C0056E4F4 /* NotCapableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotCapableViewController.h; sourceTree = ""; }; 30 | C618F54D1FB8155C0056E4F4 /* NotCapableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotCapableViewController.m; sourceTree = ""; }; 31 | C618F54F1FB818530056E4F4 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = ""; }; 32 | C618F5511FB818D20056E4F4 /* Preferences.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Preferences.h; sourceTree = ""; }; 33 | C618F5521FB818D20056E4F4 /* Preferences.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Preferences.m; sourceTree = ""; }; 34 | C618F5541FB825A70056E4F4 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 35 | C65564701FB7659800FBE049 /* navigationbar@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "navigationbar@3x.png"; sourceTree = ""; }; 36 | C6ACA5BE1FB55444001D43A2 /* notch@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "notch@3x.png"; sourceTree = ""; }; 37 | C6ACA5C01FB5819D001D43A2 /* launch.mov */ = {isa = PBXFileReference; lastKnownFileType = video.quicktime; path = launch.mov; sourceTree = ""; }; 38 | C6ACA5C21FB583A5001D43A2 /* statusbar@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "statusbar@3x.png"; sourceTree = ""; }; 39 | C6ACA5C51FB586E8001D43A2 /* AVKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVKit.framework; path = System/Library/Frameworks/AVKit.framework; sourceTree = SDKROOT; }; 40 | C6ACA5C61FB586F1001D43A2 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 41 | C6EC097A1FB54AF20028596C /* HideNotch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HideNotch.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | C6EC097D1FB54AF20028596C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 43 | C6EC097E1FB54AF20028596C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 44 | C6EC09801FB54AF20028596C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 45 | C6EC09811FB54AF20028596C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 46 | C6EC09841FB54AF20028596C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 47 | C6EC09861FB54AF20028596C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 48 | C6EC09891FB54AF20028596C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 49 | C6EC098B1FB54AF20028596C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | C6EC098C1FB54AF20028596C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | /* End PBXFileReference section */ 52 | 53 | /* Begin PBXFrameworksBuildPhase section */ 54 | C6EC09771FB54AF20028596C /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | C6ACA5C41FB586E8001D43A2 /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | C618F5541FB825A70056E4F4 /* MobileCoreServices.framework */, 68 | C6ACA5C61FB586F1001D43A2 /* AVFoundation.framework */, 69 | C6ACA5C51FB586E8001D43A2 /* AVKit.framework */, 70 | ); 71 | name = Frameworks; 72 | sourceTree = ""; 73 | }; 74 | C6EC09711FB54AF10028596C = { 75 | isa = PBXGroup; 76 | children = ( 77 | C6EC097C1FB54AF20028596C /* HideNotch */, 78 | C6EC097B1FB54AF20028596C /* Products */, 79 | C6ACA5C41FB586E8001D43A2 /* Frameworks */, 80 | ); 81 | sourceTree = ""; 82 | }; 83 | C6EC097B1FB54AF20028596C /* Products */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | C6EC097A1FB54AF20028596C /* HideNotch.app */, 87 | ); 88 | name = Products; 89 | sourceTree = ""; 90 | }; 91 | C6EC097C1FB54AF20028596C /* HideNotch */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | C65564701FB7659800FBE049 /* navigationbar@3x.png */, 95 | C6ACA5C21FB583A5001D43A2 /* statusbar@3x.png */, 96 | C6ACA5C01FB5819D001D43A2 /* launch.mov */, 97 | C6ACA5BE1FB55444001D43A2 /* notch@3x.png */, 98 | C618F5511FB818D20056E4F4 /* Preferences.h */, 99 | C618F5521FB818D20056E4F4 /* Preferences.m */, 100 | C6EC097D1FB54AF20028596C /* AppDelegate.h */, 101 | C6EC097E1FB54AF20028596C /* AppDelegate.m */, 102 | C6EC09801FB54AF20028596C /* ViewController.h */, 103 | C6EC09811FB54AF20028596C /* ViewController.m */, 104 | C618F5491FB808550056E4F4 /* LaunchViewController.h */, 105 | C618F54A1FB808550056E4F4 /* LaunchViewController.m */, 106 | C618F54C1FB8155C0056E4F4 /* NotCapableViewController.h */, 107 | C618F54D1FB8155C0056E4F4 /* NotCapableViewController.m */, 108 | C6EC09831FB54AF20028596C /* Main.storyboard */, 109 | C6EC09861FB54AF20028596C /* Assets.xcassets */, 110 | C6EC09881FB54AF20028596C /* LaunchScreen.storyboard */, 111 | C6EC098B1FB54AF20028596C /* Info.plist */, 112 | C6EC098C1FB54AF20028596C /* main.m */, 113 | C618F54F1FB818530056E4F4 /* Settings.bundle */, 114 | ); 115 | path = HideNotch; 116 | sourceTree = ""; 117 | }; 118 | /* End PBXGroup section */ 119 | 120 | /* Begin PBXNativeTarget section */ 121 | C6EC09791FB54AF20028596C /* HideNotch */ = { 122 | isa = PBXNativeTarget; 123 | buildConfigurationList = C6EC09901FB54AF20028596C /* Build configuration list for PBXNativeTarget "HideNotch" */; 124 | buildPhases = ( 125 | C6EC09761FB54AF20028596C /* Sources */, 126 | C6EC09771FB54AF20028596C /* Frameworks */, 127 | C6EC09781FB54AF20028596C /* Resources */, 128 | ); 129 | buildRules = ( 130 | ); 131 | dependencies = ( 132 | ); 133 | name = HideNotch; 134 | productName = HideNotch; 135 | productReference = C6EC097A1FB54AF20028596C /* HideNotch.app */; 136 | productType = "com.apple.product-type.application"; 137 | }; 138 | /* End PBXNativeTarget section */ 139 | 140 | /* Begin PBXProject section */ 141 | C6EC09721FB54AF10028596C /* Project object */ = { 142 | isa = PBXProject; 143 | attributes = { 144 | LastUpgradeCheck = 0910; 145 | ORGANIZATIONNAME = Weibo; 146 | TargetAttributes = { 147 | C6EC09791FB54AF20028596C = { 148 | CreatedOnToolsVersion = 9.1; 149 | ProvisioningStyle = Automatic; 150 | }; 151 | }; 152 | }; 153 | buildConfigurationList = C6EC09751FB54AF10028596C /* Build configuration list for PBXProject "HideNotch" */; 154 | compatibilityVersion = "Xcode 8.0"; 155 | developmentRegion = en; 156 | hasScannedForEncodings = 0; 157 | knownRegions = ( 158 | en, 159 | Base, 160 | ); 161 | mainGroup = C6EC09711FB54AF10028596C; 162 | productRefGroup = C6EC097B1FB54AF20028596C /* Products */; 163 | projectDirPath = ""; 164 | projectRoot = ""; 165 | targets = ( 166 | C6EC09791FB54AF20028596C /* HideNotch */, 167 | ); 168 | }; 169 | /* End PBXProject section */ 170 | 171 | /* Begin PBXResourcesBuildPhase section */ 172 | C6EC09781FB54AF20028596C /* Resources */ = { 173 | isa = PBXResourcesBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | C618F5501FB818530056E4F4 /* Settings.bundle in Resources */, 177 | C6EC098A1FB54AF20028596C /* LaunchScreen.storyboard in Resources */, 178 | C6ACA5C11FB5819D001D43A2 /* launch.mov in Resources */, 179 | C6EC09871FB54AF20028596C /* Assets.xcassets in Resources */, 180 | C6ACA5C31FB583A6001D43A2 /* statusbar@3x.png in Resources */, 181 | C65564711FB7659900FBE049 /* navigationbar@3x.png in Resources */, 182 | C6ACA5BF1FB55444001D43A2 /* notch@3x.png in Resources */, 183 | C6EC09851FB54AF20028596C /* Main.storyboard in Resources */, 184 | ); 185 | runOnlyForDeploymentPostprocessing = 0; 186 | }; 187 | /* End PBXResourcesBuildPhase section */ 188 | 189 | /* Begin PBXSourcesBuildPhase section */ 190 | C6EC09761FB54AF20028596C /* Sources */ = { 191 | isa = PBXSourcesBuildPhase; 192 | buildActionMask = 2147483647; 193 | files = ( 194 | C6EC09821FB54AF20028596C /* ViewController.m in Sources */, 195 | C6EC098D1FB54AF20028596C /* main.m in Sources */, 196 | C618F5531FB818D20056E4F4 /* Preferences.m in Sources */, 197 | C618F54E1FB8155C0056E4F4 /* NotCapableViewController.m in Sources */, 198 | C6EC097F1FB54AF20028596C /* AppDelegate.m in Sources */, 199 | C618F54B1FB808550056E4F4 /* LaunchViewController.m in Sources */, 200 | ); 201 | runOnlyForDeploymentPostprocessing = 0; 202 | }; 203 | /* End PBXSourcesBuildPhase section */ 204 | 205 | /* Begin PBXVariantGroup section */ 206 | C6EC09831FB54AF20028596C /* Main.storyboard */ = { 207 | isa = PBXVariantGroup; 208 | children = ( 209 | C6EC09841FB54AF20028596C /* Base */, 210 | ); 211 | name = Main.storyboard; 212 | sourceTree = ""; 213 | }; 214 | C6EC09881FB54AF20028596C /* LaunchScreen.storyboard */ = { 215 | isa = PBXVariantGroup; 216 | children = ( 217 | C6EC09891FB54AF20028596C /* Base */, 218 | ); 219 | name = LaunchScreen.storyboard; 220 | sourceTree = ""; 221 | }; 222 | /* End PBXVariantGroup section */ 223 | 224 | /* Begin XCBuildConfiguration section */ 225 | C6EC098E1FB54AF20028596C /* Debug */ = { 226 | isa = XCBuildConfiguration; 227 | buildSettings = { 228 | ALWAYS_SEARCH_USER_PATHS = NO; 229 | CLANG_ANALYZER_NONNULL = YES; 230 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 231 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 232 | CLANG_CXX_LIBRARY = "libc++"; 233 | CLANG_ENABLE_MODULES = YES; 234 | CLANG_ENABLE_OBJC_ARC = YES; 235 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 236 | CLANG_WARN_BOOL_CONVERSION = YES; 237 | CLANG_WARN_COMMA = YES; 238 | CLANG_WARN_CONSTANT_CONVERSION = YES; 239 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 240 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 241 | CLANG_WARN_EMPTY_BODY = YES; 242 | CLANG_WARN_ENUM_CONVERSION = YES; 243 | CLANG_WARN_INFINITE_RECURSION = YES; 244 | CLANG_WARN_INT_CONVERSION = YES; 245 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 246 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 247 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 248 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 249 | CLANG_WARN_STRICT_PROTOTYPES = YES; 250 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 251 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 252 | CLANG_WARN_UNREACHABLE_CODE = YES; 253 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 254 | CODE_SIGN_IDENTITY = "iPhone Developer"; 255 | COPY_PHASE_STRIP = NO; 256 | DEBUG_INFORMATION_FORMAT = dwarf; 257 | ENABLE_STRICT_OBJC_MSGSEND = YES; 258 | ENABLE_TESTABILITY = YES; 259 | GCC_C_LANGUAGE_STANDARD = gnu11; 260 | GCC_DYNAMIC_NO_PIC = NO; 261 | GCC_NO_COMMON_BLOCKS = YES; 262 | GCC_OPTIMIZATION_LEVEL = 0; 263 | GCC_PREPROCESSOR_DEFINITIONS = ( 264 | "DEBUG=1", 265 | "$(inherited)", 266 | ); 267 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 268 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 269 | GCC_WARN_UNDECLARED_SELECTOR = YES; 270 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 271 | GCC_WARN_UNUSED_FUNCTION = YES; 272 | GCC_WARN_UNUSED_VARIABLE = YES; 273 | IPHONEOS_DEPLOYMENT_TARGET = 11.1; 274 | MTL_ENABLE_DEBUG_INFO = YES; 275 | ONLY_ACTIVE_ARCH = YES; 276 | SDKROOT = iphoneos; 277 | }; 278 | name = Debug; 279 | }; 280 | C6EC098F1FB54AF20028596C /* Release */ = { 281 | isa = XCBuildConfiguration; 282 | buildSettings = { 283 | ALWAYS_SEARCH_USER_PATHS = NO; 284 | CLANG_ANALYZER_NONNULL = YES; 285 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 286 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 287 | CLANG_CXX_LIBRARY = "libc++"; 288 | CLANG_ENABLE_MODULES = YES; 289 | CLANG_ENABLE_OBJC_ARC = YES; 290 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 291 | CLANG_WARN_BOOL_CONVERSION = YES; 292 | CLANG_WARN_COMMA = YES; 293 | CLANG_WARN_CONSTANT_CONVERSION = YES; 294 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 295 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 296 | CLANG_WARN_EMPTY_BODY = YES; 297 | CLANG_WARN_ENUM_CONVERSION = YES; 298 | CLANG_WARN_INFINITE_RECURSION = YES; 299 | CLANG_WARN_INT_CONVERSION = YES; 300 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 301 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 302 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 303 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 304 | CLANG_WARN_STRICT_PROTOTYPES = YES; 305 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 306 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 307 | CLANG_WARN_UNREACHABLE_CODE = YES; 308 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 309 | CODE_SIGN_IDENTITY = "iPhone Developer"; 310 | COPY_PHASE_STRIP = NO; 311 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 312 | ENABLE_NS_ASSERTIONS = NO; 313 | ENABLE_STRICT_OBJC_MSGSEND = YES; 314 | GCC_C_LANGUAGE_STANDARD = gnu11; 315 | GCC_NO_COMMON_BLOCKS = YES; 316 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 317 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 318 | GCC_WARN_UNDECLARED_SELECTOR = YES; 319 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 320 | GCC_WARN_UNUSED_FUNCTION = YES; 321 | GCC_WARN_UNUSED_VARIABLE = YES; 322 | IPHONEOS_DEPLOYMENT_TARGET = 11.1; 323 | MTL_ENABLE_DEBUG_INFO = NO; 324 | SDKROOT = iphoneos; 325 | VALIDATE_PRODUCT = YES; 326 | }; 327 | name = Release; 328 | }; 329 | C6EC09911FB54AF20028596C /* Debug */ = { 330 | isa = XCBuildConfiguration; 331 | buildSettings = { 332 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 333 | CODE_SIGN_STYLE = Automatic; 334 | DEVELOPMENT_TEAM = DMJXDB9H6Q; 335 | INFOPLIST_FILE = HideNotch/Info.plist; 336 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 337 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 338 | PRODUCT_BUNDLE_IDENTIFIER = com.wutian.hidenotch; 339 | PRODUCT_NAME = "$(TARGET_NAME)"; 340 | TARGETED_DEVICE_FAMILY = "1,2"; 341 | }; 342 | name = Debug; 343 | }; 344 | C6EC09921FB54AF20028596C /* Release */ = { 345 | isa = XCBuildConfiguration; 346 | buildSettings = { 347 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 348 | CODE_SIGN_STYLE = Automatic; 349 | DEVELOPMENT_TEAM = DMJXDB9H6Q; 350 | INFOPLIST_FILE = HideNotch/Info.plist; 351 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 352 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 353 | PRODUCT_BUNDLE_IDENTIFIER = com.wutian.hidenotch; 354 | PRODUCT_NAME = "$(TARGET_NAME)"; 355 | TARGETED_DEVICE_FAMILY = "1,2"; 356 | }; 357 | name = Release; 358 | }; 359 | /* End XCBuildConfiguration section */ 360 | 361 | /* Begin XCConfigurationList section */ 362 | C6EC09751FB54AF10028596C /* Build configuration list for PBXProject "HideNotch" */ = { 363 | isa = XCConfigurationList; 364 | buildConfigurations = ( 365 | C6EC098E1FB54AF20028596C /* Debug */, 366 | C6EC098F1FB54AF20028596C /* Release */, 367 | ); 368 | defaultConfigurationIsVisible = 0; 369 | defaultConfigurationName = Release; 370 | }; 371 | C6EC09901FB54AF20028596C /* Build configuration list for PBXNativeTarget "HideNotch" */ = { 372 | isa = XCConfigurationList; 373 | buildConfigurations = ( 374 | C6EC09911FB54AF20028596C /* Debug */, 375 | C6EC09921FB54AF20028596C /* Release */, 376 | ); 377 | defaultConfigurationIsVisible = 0; 378 | defaultConfigurationName = Release; 379 | }; 380 | /* End XCConfigurationList section */ 381 | }; 382 | rootObject = C6EC09721FB54AF10028596C /* Project object */; 383 | } 384 | --------------------------------------------------------------------------------