Exemplo n.º 1
0
 private void RemoveLoadView()
 {
     if (loadViewCtr != null)
     {
         loadViewCtr.View.RemoveFromSuperview();
         loadViewCtr.Dispose();
         loadViewCtr = null;
     }
 }
Exemplo n.º 2
0
        private void RemoveLoadView()
        {
            NSRunLoop.Current.RunUntil(NSRunLoopMode.Default, NSDate.FromTimeIntervalSinceReferenceDate(5));

            if (loadViewCtr != null)
            {
                loadViewCtr.View.Layer.RemoveFromSuperLayer();
                loadViewCtr.Dispose();
                loadViewCtr = null;
            }
        }