Skip to content

Commit

Permalink
Support vision os simulator model name
Browse files Browse the repository at this point in the history
  • Loading branch information
shimastripe committed Oct 4, 2023
1 parent 1a4c036 commit d27a048
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GoogleUtilities/Environment/GULAppEnvironmentUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ + (NSString *)deviceSimulatorModel {
model = @"watchOS Simulator";
#elif TARGET_OS_TV
model = @"tvOS Simulator";
#elif TARGET_OS_VISION
model = @"visionOS Simulator";
#elif TARGET_OS_IPHONE
switch ([[UIDevice currentDevice] userInterfaceIdiom]) {
case UIUserInterfaceIdiomPhone:
Expand Down

0 comments on commit d27a048

Please sign in to comment.