inloop / image-picker Goto Github PK
View Code? Open in Web Editor NEWAn easy to use, highly configurable image picker for your chat application.
An easy to use, highly configurable image picker for your chat application.
when recording a video, default camera cell should have duration label with a blinking red dot indicating that a video is being recorded
while calling flip camera, the completion closure if unused should not be present and set to nil by default
Hi, I recently find out a bug, when collection view loads a lot of images, app will crash, can you fix that problem. Thank you. Btw, your library is really great, but can you detail more about How to install it via carthage, or pod, and manually too. Thanks.
Hi,
i got a problem when i take a picture, in my collection that pics will added but the already selected cells will be deselected (it seems that this collection reloaded itself).
Im using default cells and layout (not that custom one)
I did a test with your example app, and i noticed that this not happen.
Can u please tell me how can i move to solve this ?
therefore we have to add to AssetCell if asset is a video:
and if it's a live image
Image picker displays only 2 photos for selection by default unless the count in camera roll exceeds 1000.
start a video recording and scroll camera cell off the screen. Recording will still undergo but camera cell is blurred. It should be blurred only if session is not running.
Implement:
func imagePicker(controller: ImagePickerController, didCaptureVideo url: UIImage)
func imagePicker(controller: ImagePickerController, didTake livePhoto: UIImage, videoUrl: UIImage)
Steps to reproduce:
Result: Music stops playing due to AVCAptureSession audio type
Provide different session setups for image, video, live photos.
this was recently added to iMessages picker, so it would be nice to have
After touching flip camera button nothing happened
Thank you for creating such a great component! We would love to use it in our project, but I do not see the license file. Is it meant to be MIT like your other projects and the license file was just omitted or is there a different intention?
Thank you!
If setting any color to appearance globally, it does not work.
Steps to reproduce:
Expected result:
Actual result:
The color is not changes
Environment:
iPhone 6s
iOS 11.0
Note: Setting the background per instance works well
Create podspeca and support cocoapods setup.
Also enhance REAMDE by step by step guide how to setup it.
please provide a way to remove all selected assets e.g
let imagePicker = ImagePickerController()
imagePicker.clearSelection()
func imagePicker(controller: ImagePickerController, didCaptureVideo url: UIImage)
func imagePicker(controller: ImagePickerController, didTake livePhoto: UIImage, videoUrl: UIImage)
When built with iOS 12 beta SDK the State
enum conflicts with the UIControl.State
(renamed from UIControlState
in iOS 12).
Currently new safe area
traits are not being considered when laying out collection view. This must be adopted to fully support iPhone X for both portrait and landscape modes.
Receive following error.
Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler: .../Carthage/Build/iOS/ImagePicker.framework/Modules/ImagePicker.swiftmodule/arm64.swiftmodule
Have already tried: carthage update --platform iOS
and carthage build
log information:
The following build commands failed:
CompileSwift normal armv7
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
CompileSwift normal arm64
(3 failures)
Also tried setting different Swift Language Versions in Build Settings
Nothing helps
ImagePicker crashes on CaptureSession:338 because of the force unwrap of defaultVideoDevice.
now the aspect ratio is fixed:
I got implement your image picker, i'm able to bring object from collection, but when i click "camera" button that allow me to have a default camera of smartphone, after clicked to get foto or video, i'm not able to find that file in a list....where i can find that, there is a delegate that allow to get that file ?
The permissions should be required once the user would like to display the component instead during load time / controller initialization.
Potentially you can add overlay indicating that to use the component additional permissions are required.
Hello! Thank you very much for this amazing library. I also like your other libraries here on GitHub. It's really useful and looks great too.
I just have a question. How do I remove the video option when I open the camera app?
I have set the captureSettings.cameraMode = photo
.
However, there is still a video option. I don't want my users to use video recording because my app does not use it. Just photo.
I attached a screenshot here.
Thank you!
Is it possible to embed the image-picker in a ViewController which always has the keyboard open? I want to have image-picker as an independent row above the keyboard and always stay visible, while the user may use the keyboard to input text in a text view on the screen.
Layout configuration should have enabled both action items by default, showing default icons and text. Ideally default implementation should open camera and photo library.
Options:
or update readme defining that the reuse identifier should be left empty when registering the nib
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.