This repository was archived by the owner on Apr 29, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Runtime/Plugins/platform/ios Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -98,34 +98,34 @@ + (NSString *) deviceName
98
98
switch ((int )[[UIScreen mainScreen ] nativeBounds ].size .height ) {
99
99
// iPhone 5 or 5S or 5C
100
100
case 1136 :
101
- _deviceName = @" iPhone 5" ;
101
+ _deviceName = @" iPhone 5 Simulator " ;
102
102
break ;
103
103
// iPhone 6 or 6S or 7 or 8
104
104
case 1334 :
105
- _deviceName = @" iPhone 6" ;
105
+ _deviceName = @" iPhone 6 Simulator " ;
106
106
break ;
107
107
// iPhone 6+ or 6S+ or 7+ or 8+
108
108
case 1920 :
109
- _deviceName = @" iPhone 6 Plus" ;
109
+ _deviceName = @" iPhone 6 Plus Simulator " ;
110
110
break ;
111
111
// iPhone 6+ or 6S+ or 7+ or 8+
112
112
case 2208 :
113
- _deviceName = @" iPhone 6 Plus" ;
113
+ _deviceName = @" iPhone 6 Plus Simulator " ;
114
114
break ;
115
115
// iPhone X or XS
116
116
case 2436 :
117
- _deviceName = @" iPhone X" ;
117
+ _deviceName = @" iPhone X Simulator " ;
118
118
break ;
119
119
// iPhone XS Max
120
120
case 2688 :
121
- _deviceName = @" iPhone XS Max" ;
121
+ _deviceName = @" iPhone XS Max Simulator " ;
122
122
break ;
123
123
// iPhone XR
124
124
case 1792 :
125
- _deviceName = @" iPhone XR" ;
125
+ _deviceName = @" iPhone XR Simulator " ;
126
126
break ;
127
127
default :
128
- _deviceName = @" Unknown" ;
128
+ _deviceName = @" Unknown Simulator " ;
129
129
break ;
130
130
}
131
131
}
You can’t perform that action at this time.
0 commit comments