/// <summary> /// Set the text in Done button of tool bar in iOS. /// User could use this button in iOS to close the web view. By default, "Done" will be shown for this button. /// If you want to change the text of tool bar done button for the webview, you have to call it before creating the UniWebView instance. /// This method only works for iOS. See <seealso cref="ShowToolBar"/>. /// </summary> /// <param name="text">The text you want to show for the Done button. Set it to null will reset it to "Done".</param> public static void SetDoneButtonText(string text) { #if UNITY_IOS && !UNITY_EDITOR UniWebViewPlugin.SetDoneButtonText(text); #endif }