Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 85f29c7

Browse files
committed
[[ Bug 21769 ]] Added documentation for iphoneDeviceModel()
This patch adds a dictionary entry and corrects the release note for iphoneDeviceModel() function
1 parent dc59f38 commit 85f29c7

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Name: iphoneDeviceModel
2+
3+
Type: function
4+
5+
Syntax: iphoneDeviceModel()
6+
7+
Summary:
8+
Returns the machine name of the device the app is running on
9+
10+
11+
Introduced: 9.6.3
12+
13+
OS: ios
14+
15+
Platforms: mobile
16+
17+
Example:
18+
local tModel
19+
put iphoneDeviceModel() into tModel
20+
21+
22+
Description:
23+
Use the <iphoneDeviceModel> function to get the machine name of the device the app is running on
24+
25+
Note: The machine name is different from the full readable name of the device.
26+
You can find a mapping between these two names here: http://theiphonewiki.com/wiki/Models
27+
28+
29+

docs/notes/bugfix-21769.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Added new function iphoneDeviceModel() that returns the full name of the iOS device the app is running on
1+
# Added new function iphoneDeviceModel() that returns the machine name of the iOS device the app is running on

0 commit comments

Comments
 (0)