redth-org / BTProgressHUD

Port to Xamarin.iOS of the SVProgressHUD
Other
118 stars 64 forks source link

NullReferenceException when calling .Show() #49

Closed sdebruyn closed 8 years ago

sdebruyn commented 8 years ago

What the title says. I get a System.NullReferenceException when I run the following code: BTProgressHUD.Show(maskType: ProgressHUD.MaskType.Black);

What I tried so far:

Probably related: https://forums.xamarin.com/discussion/10039/btprogresshuds-alternatives

sdebruyn commented 8 years ago

My view was not displayed when I called .Show(). I moved the call to a later phase and now I don't get the exception anymore.