---
title: "Ep. 18 - Using lock code when app opens"
description: "Episode 18 of Learn RubyMotion, by Neeraj Singh."
canonical_url: "https://www.bigbinary.com/videos/learn-rubymotion/ep-18-using-lock-code-when-app-opens"
markdown_url: "https://www.bigbinary.com/videos/learn-rubymotion/ep-18-using-lock-code-when-app-opens.md"
---

# Ep. 18 - Using lock code when app opens

Episode 18 of Learn RubyMotion, by Neeraj Singh.

## Details

- Series: Learn RubyMotion
- Duration: 01:26
- Published: September 29, 2017
- [Watch on YouTube: https://www.youtube.com/watch?v=ly3jLdEGlDw](https://www.youtube.com/watch?v=ly3jLdEGlDw)

## Notes

- Show lock screen when application comes to foreground from background.
- [commit 1](https://github.com/bigbinary/lrm/commit/16f5ca803eef10c9759d5d20a430e05d4028faf0)
- [commit 2](https://github.com/bigbinary/lrm/commit/d11b0688d552ef225161b44929d0cb638b17bfd4)
- [commit 2](https://github.com/bigbinary/lrm/commit/a4fdde24ee2fe49895fb43898e0976264afbfa91)
- [commit 3](https://github.com/bigbinary/lrm/commit/a4fdde24ee2fe49895fb43898e0976264afbfa91)
- [Source code](https://github.com/bigbinary/lrm)
- git clone https://github.com/bigbinary/lrm.git cd episode-18 bundle exec rake

## Links

- [Human page](https://www.bigbinary.com/videos/learn-rubymotion/ep-18-using-lock-code-when-app-opens)
