Comments (3)
Check the code and demo project for NBUAssetsGroupViewController
's selectionChangedBlock
then you can your own controller or use a NBUGalleryViewController
which handles zoom.
from ios-nbuimagepicker.
Sorry, i guess my question was not clear enough. I mean to say before we take picture is there a way that we can have zoom in/out to take pictures.
from ios-nbuimagepicker.
Aaah. I see. That would be something like a "digital zoom" of the iPhone camera.
The camera preview is a special layer added to NBUCameraView
. You could embed that view inside a UIScrollView
and handle pinch to zoom as usual. Then you would need use the zoomed section rect to crop the output of takePicture:
.
There are several crop methods in UIImage+NBUAdditions
that you could use.
from ios-nbuimagepicker.
Related Issues (16)
- Getting Couldn't load Nib named: NBUImagePickerController HOT 3
- EXC_BAD_ACCESS in NBUAssetsGroup libraryChanged HOT 1
- 'Pods-environment.h' file not found HOT 1
- memory not release HOT 4
- Grey gradient background overlay app view after dismissing picker HOT 5
- Application freezes after taking many pictures HOT 3
- NBUCoreImageFilterProvider [ciImage autoAdjustmentFilters]; No longer exists in iOS 9 HOT 9
- How can I get Apple default filters and Can I add new Apple filter if not found. HOT 3
- Images count issue HOT 5
- It seems no way to preset flash mode for imagepicker. HOT 7
- Come up with a clean way to configure not-yet loaded views' properties from controllers or Picker.
- Performing segue causes error of taking photo HOT 5
- Customize NBUAssetsLibraryViewController in a non-storyboard project HOT 2
- NBUAssetsGroupViewController.gridView infinite loop in layoutSubviews HOT 6
- Initialize NBUCameraView in viewDidAppear or viewDidLayoutSubviews HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-nbuimagepicker.