runOniOS

inline fun <T> runOniOS(action: () -> T?): T?

Executes action if the currentPlatform is ApplicationType.iOS. Returns action result or null.

See also