Commit 06bc3eb
committed
Fixed an iOS 8 version check
Testing if UIApplication responds to registerForRemoteNotifications is a really ugly way to check if we're running on iOS 8, when the code has nothing to do with remote notifications.
Just get the minimum dimension since a status bar will always be wider than it is tall.1 parent ab7c657 commit 06bc3eb
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 201 | + | |
209 | 202 | | |
210 | 203 | | |
211 | 204 | | |
| |||
0 commit comments