Search code examples
iosiphonembprogresshud

MBProgressHUD not added to ViewController


I am using MBProgressHUD and when I am adding it to self.view it is not visible. However if I add it to tableview it is visible. In other Project I used to add it to the self.view and it's working correctly. In that view also tableview is present. Can you help me with this issue ?


Solution

  • I set the layer.zPosition of the MBProgressHUD view and now it's visible.