Added FFI for iOS