How to show loading shortcut over UITableView?

I have a UITableView that I populate with data that I upload over the Internet. While the data is loading, I want to show the loading shortcut above my TableView to show users that something is really happening and there are no problems with the application. What is the best way to do this?

+3
source share
2 answers

I think the best way to do this is to add a subview to the main view of your application. Matt Gallagher had a tutorial about this 2 days ago. It shows you how to show the type of download , as well as sample code that you can download.

+1

- UIActivityIndicator UITableView UIView. viewDidLoad UILabel NO .

.

[NSThread detachNewThreadSelector...]

, UILabel hidden = YES, .

[self performSelectorOnMainThread...]

, .

0

Source: https://habr.com/ru/post/1706417/


All Articles