fixed handling of presentation styles for iOS plugin