0

With the new xcode one is able to present a .xib named LaunchScreen on launch, which is great. I added a UIActivityIndicator to this very file, but I am not able to animate it. How can I accomplish this? Do I need to add a code file just for this?

What I've tried

  • Selected 'Animating' in the 'behavior' section of the xib
vrwim
  • 13,020
  • 13
  • 63
  • 118
Julian B.
  • 3,605
  • 2
  • 29
  • 38
  • See this answer: http://stackoverflow.com/a/27519797/4525866 – salabaha Mar 23 '15 at 17:28
  • thanks @RomanSalabay! however, I am able to add it to the launch screen, and it's visible, it's just not animating. is this .xib not intended to be used for animations then? i see that answer suggests to utilize a code-based approach. – Julian B. Mar 23 '15 at 17:33
  • Animation is disabled on LaunchScreen. Therefore you need to use workaround. – salabaha Mar 23 '15 at 17:49
  • gotcha! ok, thanks will look into it. – Julian B. Mar 23 '15 at 18:01
  • main thread is busy doing app start.. it will not animate that easily. –  Aug 30 '17 at 18:58

0 Answers0