Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Progress view bar

I just wanted to know how do I animate a progress view bar on the launch page, I'm new to swift and coding, any help would be appreciated.

2 Answers

Hey Mohamed Ibrahim,

The launch screen is only presented between the time the user opens the application and before it starts to run. I don't believe that it is possible to do any sort of functionality eg. animations on the launch page because your app is not actually active yet. It's also important to note that this is not how Apple wants you to use the launch screen.

If you read the Apple Human Interface Guidelines, it states:

"A launch file (or image) provides a simple placeholder image that iOS displays when your app starts up. The placeholder image gives users the impression that your app is fast and responsive because it appears instantly and is quickly replaced by the first screen of your app." - Apple Human Interface Guidelines

By displaying some sort of progress view, you would actually be explicitly stating that your app takes time to load instead of making it appear fast and responsive.

Also in the documentation:

"the launch image isn’t an opportunity to provide: * An “app entry experience,” such as a splash screen"

Hope this helps. Good Luck!

Ahh thank you very much. I've seen other apps which used a progress bar so I was curious.