0
我想TU使用SFBusyIndicator在Xamarin IOS C#中,但它不顯示...SFBusyIndicator顯示不出來
SFBusyIndicator busyindicator = new SFBusyIndicator();
public TesourariaViewController(IntPtr handle) : base(handle)
{
busyindicator.Frame = this.View.Bounds;
busyindicator.AnimationType = SFBusyIndicatorAnimationType.SFBusyIndicatorAnimationTypeGear;
busyindicator.ViewBoxHeight = 200;
busyindicator.ViewBoxWidth = 200;
busyindicator.Title = (NSString)"Loading...";
busyindicator.FontFace = UIFont.SystemFontOfSize(10, UIFontWeight.Thin);
busyindicator.Center = this.View.Center;
this.View.Add(busyindicator);
}
我在viewDidLoad中一個按鈕觸上事件,其中i BusyIndicator控件調用.IsBusy = true,但沒有任何反應,忙顯示不顯示!
想我做錯了什麼......或者失去了一些東西...... 謝謝
謝謝!我嘗試了相同的結果... – Vssantos7