Skip to content

Commit

Permalink
Update deployment target to iOS 14.5 and hide the status bar.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 426248971
Change-Id: I05582171eb950813bb3eebad708900930be4aebe
  • Loading branch information
Google ML Kit authored and zongmins committed Feb 10, 2022
1 parent 80a962b commit 7bc5324
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -478,7 +478,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down Expand Up @@ -558,4 +558,4 @@
/* End XCConfigurationList section */
};
rootObject = BB287B2D20729CE90069707A /* Project object */;
}
}
4 changes: 4 additions & 0 deletions ios/quickstarts/vision/VisionExampleObjC/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ @interface ViewController () <UINavigationControllerDelegate,

@implementation ViewController

- (BOOL)prefersStatusBarHidden {
return YES;
}

- (NSString *)stringForDetectorPickerRow:(DetectorPickerRow)detectorPickerRow {
switch (detectorPickerRow) {
case DetectorPickerRowDetectFaceOnDevice:
Expand Down

0 comments on commit 7bc5324

Please sign in to comment.