0

In my Application user can insert hospital information into database after login. In my case, the view where user can enter data may take some time to load. That's not an issue but I want to inform the user that something is loading ( message like 'loading' as in phpmyadmin)so that he does not get confuse with that. If somebody knows about it please inform me.

j0k
  • 22,600
  • 28
  • 79
  • 90
user1523344
  • 123
  • 1
  • 1
  • 8

3 Answers3

0

You should avoid the long loading time by having the view display itself immediately with the 'loading' message (in a subview). Then in viewDidAppear, for example, start loading the rest of what you need to display the real view. Lay out the final view and when ready, remove the 'loading' message subview.

mprivat
  • 21,582
  • 4
  • 54
  • 64
0

Use Activity Indicator as loading running,once done hide that Activity Indicator.See this link.

Community
  • 1
  • 1
Sanoj Kashyap
  • 5,020
  • 4
  • 49
  • 75