ios - When app backgrounded lock screen does not fully animate in -


background

when app backgrounded want have lock screen forces user log in again. have implemented in onresignactivation method in appdelegate.

functionally works fine, however, when backgrounded lock screen tries slide in doesn't have time complete. when app opens again animation completes.

question

how can animation complete or not use animation @ when ever app opened again lock screen there , not half way across?

solution

the solution in fact in implement lock screen logic in didenterbackground instead of onresignactivation in appdelegate.

as code running in life cycle getting half animation behaviour. putting in didenterbackground resolves this.

these answers helped me arrive @ solution.

https://stackoverflow.com/a/12416131/1593273

https://stackoverflow.com/a/25985478/1593273


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -