简体   繁体   中英

How to create a custom camera shutter animation (like in SocialCam app)

I would like to know how can I customize the 'iris' or 'shutter' animation of the iPhone's camera. An awesome example of what I am trying to achieve can be found in SocialCam app.

When you launch the camera, there's a custom iris effect as shown below:

Thanks ahead.

I think that you do not customize the shutter, but simply create a new animation. You can do that using Core Animation.

Using core animation makes it simple to move views around using minimal programming.

Please read: http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html for more information.

Try these link , it consist of Project files too. iPhone Camera Shutter Animation

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