Scan med din iPhone for at installere
This will get the information of your device and shows it for you. Some of the options aren’t out yet so don’t blame me if I didn’t tell you.
Nyheder
Version 1.0
First release
Hvad den gør
14 handlinger-
Choose from MenuOptions
-
Choose from MenuCurrent Version
-
Get Device Details
-
Show NotificationThe Current Version of your iOS is ….
-
Choose from MenuCheck for updates
-
Choose from MenuDevice Model
-
Get Device Details
-
Show NotificationThe device model is ….
-
Choose from MenuDevice Hostname
-
Get Device Details
-
Show NotificationYour Hostname is ….
-
Choose from MenuDevice Name
-
Get Device Details
-
Show NotificationYour Device’s name is ….
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/device'
#define color green
#define glyph uploadArrow
menu "Options" {
item "Current Version":
const SystemVersion = getDeviceDetail("System Version")
showNotification("The Current Version of your iOS is {SystemVersion}.", SystemVersion)
item "Check for updates":
item "Device Model":
const DeviceModel = getDeviceDetail("Device Model")
showNotification("The device model is {DeviceModel}.", DeviceModel)
item "Device Hostname":
getDeviceDetail("Device Hostname")
showNotification("Your Hostname is {}.")
item "Device Name":
const DeviceName = getDeviceDetail("Device Name")
showNotification("Your Device’s name is {DeviceName}.", DeviceName)
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra emopetrobot
Du vil måske også kunne lide
Annonce