We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d453570 commit d70a8d0Copy full SHA for d70a8d0
1 file changed
Plugins/CS/NativeUI.cs
@@ -194,11 +194,18 @@ static void OnSafariViewCompletionCallback()
194
195
196
static Action<UIInterfaceOrientation> onStatusBarOrientationChanged;
197
-
+
198
+ [Obsolete("Use OnStatusBarOrientationChanged instead")]
199
+ public static event Action<UIInterfaceOrientation> OnStatusBarOrientationChanged
200
+ {
201
+ add => StatusBarOrientationChanged += value;
202
+ remove => StatusBarOrientationChanged -= value;
203
+ }
204
205
/// <summary>
206
/// UI 朝向变更事件
207
/// </summary>
- public static event Action<UIInterfaceOrientation> OnStatusBarOrientationChanged
208
+ public static event Action<UIInterfaceOrientation> StatusBarOrientationChanged
209
{
210
add
211
0 commit comments