add methods for iOS bridge