ios8 - code that's always executed before app gets visible? -


i secure app of mine lockscreen. currently, it's shown in didbecomeactive, seems if that's little bit late content visible short time before lockscreen shown.

as lockscreen not shown (e.g. if app suspended more 30 seconds), don't want add in applicationwillresignactive.

one method start timer , add lockscreen after 30 seconds in background, don't solution, prefer method willbecomeactive- there way achieve that?


Comments