简体   繁体   中英

simultate the iphone lock screen

I'm trying to emulate the ios lock screen, I already have the slide to unlock and lock screen done but I have no idea how to make the transition between the 2, I want it to look exactly the same annimation as the real one, the lock pad appear from the bottom pushing the slide to unlock up, at the same time the slide is pushed to the left by the password field can anyone help on how to achieve this as i'm very new to animation and core motion thank you in advance

let me change the question, I want to do the same as the annimation that happen when you slide the slide to unclock and the lock screen appear. The slide to unlock is moving from right to left at the same time the text field is appearing replacing the slide to unlock while he keyboard appear.

refer a Opensource how to implementation Slide To cancel. Slide to Cancel

Please take a look at WWDC 2013 session 217 " Exploring Scroll Views on iOS 7 ".

They talk about how they build lock screen in that video.

Also you might find helpful my project that mimics Lock screen -> Camera transaction

https://github.com/haawa799/iOS7LockScreenCameraLikeTransition

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM