Skip to content

joanmolinas/JMBackgroundCameraView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMBackgroundCameraView

Use a front or back camera on backgroundView in your app. This is perfect for Logins or Welcome screens.

##Installation At this moment, You can install only a way, manually. For install, you can import JMBackgroundCameraView folder to your project. Import JMBackgroundCameraView.h and init a view. This Folder already contains blur effect.

##Usage It's very easy.

  1. Define JMBackgroundCameraView :

    @property (nonatomic, strong) JMBackgroundCameraView *v;

  2. You can use two constructors, device position for back or front camera:

    -(instancetype)initWithFrame:(CGRect)frame positionDevice:(DevicePositon)position blur:(UIBlurEffectStyle)blur;

    · UIBlurEffectStyleDark

    · UIBlurEffectStyleLight

    · UIBlurEffectStyleExtraLight

    or:

    -(instancetype)initWithFrame:(CGRect)frame positionDevice:(DevicePositon)position;

  3. Just need add view addSubview

##Requeriments Required iOS8 for Blur.

##License Mit License

##Contact joanmramon@gmail.com

http://joanmolinas.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published