iOS
The iOS namespace provides access to key iOS platform features, including device orientation, screen size, device information, virtual keyboard management, and application directory paths. It also includes functions for managing the application lifecycle and opening URLs.
#include <system/TellusimiOS.h>
Functions
IOS application.
void *getApplication()
bool isCreated()
bool isFocused()
Screen size.
uint32_t getWidth()
uint32_t getHeight()
float32_t getScale()
Device info.
String getModel()
Orientation getOrientation()
Virtual keyboard.
bool setKeyboardHidden(bool hidden)
bool isKeyboardHidden()
Application home directory.
String getHomeDirectory()
Application caches directory.
String getCachesDirectory()
Application documents directory.
String getDocumentsDirectory()
Open url.
bool openUrl(const char *name)
bool openUrl(const String &name)
Enums
Orientation
Device orientation.
#include <system/TellusimiOS.h>
Name | Value |
---|---|
OrientationUnknown | 0 |
OrientationPortrait | 1 |
OrientationPortraitUpsideDown | 2 |
OrientationLandscapeLeft | 3 |
OrientationLandscapeRight | 4 |
OrientationFaceUp | 5 |
OrientationFaceDown | 6 |