Skip to content

Commit

Permalink
fix: document iPadOS behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed May 12, 2022
1 parent 628787c commit 08450e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apidoc/Titanium/Platform/Platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ properties:
Name of the platform. Returns `android` for the Android platform, `iPhone OS` for the iOS
platform (iPhone, iPad, or iPod Touch), and `windows` for the Windows platform.
Since iOS 10 this property returns `iOS` for for the iOS platform (iPhone, iPad, or iPod Touch).
This property returns `iOS` for for the iOS platform (iPhone & iPod Touch). For the iPad,
it returns `iOS` for iOS < 13 and `iPadOS` for iPadOS > 13 as part of the iPadOS rebranding
for the iPad. If you need one identifier for both iOS and iPadOS, use <Titanium.Platform.osname>
instead.
type: String
permission: read-only

Expand Down

0 comments on commit 08450e3

Please sign in to comment.