You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a fairly standard setup for an app; a UINavigationController (no custom class) with a UITableViewController as its root controller, displaying a list of items fetched from a server and I want to show a HUD to show the progress.
This is the code I'm using; it is taken straight from the sample app
The HUD works but instead of "popping" from the middle of the screen it "grows" from the top left angle of the screen to its full size.
I looked allover the sample project to find differences and the only thing I'm doing different aside from performing this on viewDidAppear is that I'm calling this from a UITableViewController.
I tried moving this to a UIViewController and it works perfectly (even with said ViewController being part of a navigation stack) so it seems it is the table view controller's fault
Any idea why this is happening? I found that editing M13ProgressHUD.m's layoutHUD and moving
outside the UIView animateWithDuration block fixes the issue, but it doesn't look ideal and since it only happens inside the UITableView there must be something else causing it.
The text was updated successfully, but these errors were encountered:
I did try setting the animationPoint to CGPointMake([UIScreen mainScreen].bounds.width/2, [UIScreen mainScreen].bounds.height/2) and while the HUD does appear from the middle of the screen the "origin" point of the scale animation is still its top left corner.
I know that UITableView does some weird things, Like the lines between the table rows are drawn above the self.view of the UITableViewController. I'll create an example and see if I can fix it.
I have created a fairly standard setup for an app; a UINavigationController (no custom class) with a UITableViewController as its root controller, displaying a list of items fetched from a server and I want to show a HUD to show the progress.
This is the code I'm using; it is taken straight from the sample app
The HUD works but instead of "popping" from the middle of the screen it "grows" from the top left angle of the screen to its full size.
I looked allover the sample project to find differences and the only thing I'm doing different aside from performing this on viewDidAppear is that I'm calling this from a UITableViewController.
I tried moving this to a UIViewController and it works perfectly (even with said ViewController being part of a navigation stack) so it seems it is the table view controller's fault
Any idea why this is happening? I found that editing M13ProgressHUD.m's layoutHUD and moving
outside the UIView animateWithDuration block fixes the issue, but it doesn't look ideal and since it only happens inside the UITableView there must be something else causing it.
The text was updated successfully, but these errors were encountered: