Git Product home page Git Product logo

image-picker's Issues

Recording duration label

when recording a video, default camera cell should have duration label with a blinking red dot indicating that a video is being recorded

App Crash because of memory warning

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.

Deselcted cells after taking a picture

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 ?

When accessing image picker the music stops playing

Steps to reproduce:

  1. Play music on iPhone
  2. Enable Video and Photo for ImagePicker
  3. Go to app and open image picker

Result: Music stops playing due to AVCAptureSession audio type

Provide different session setups for image, video, live photos.

License file

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!

ImagePickerController.appearance().backgroundColor = UIColor.black does not work

If setting any color to appearance globally, it does not work.

Steps to reproduce:

  1. call ImagePickerController.appearance().backgroundColor = UIColor.black
  2. create an instance of ImagePickerController
  3. present it as input view

Expected result:

  • the background color is black

Actual result:
The color is not changes

Environment:
iPhone 6s
iOS 11.0

Note: Setting the background per instance works well

Support Cocoapods

Create podspeca and support cocoapods setup.
Also enhance REAMDE by step by step guide how to setup it.

support for iPhone X

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.

Swift 4.2/Xcode 10/iOS 12 compatibility

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

Crash on Simulator

ImagePicker crashes on CaptureSession:338 because of the force unwrap of defaultVideoDevice.

Update camera and action cell width when in landscape mode

now the aspect ratio is fixed:

  • action cells have ratio 1:1
  • camera cell has ratio 0,7:1
  1. it would be nice if we changed ratio of action cells to match original iMessage picker, also in landscape
  2. in landscape, camera cell's ratio should be updated to 1:0,7 or something wider

How to get photo/Video captured from camera picker

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 ?

Crash in ImagePickerController

From Fabric:
fabric_issue

Fatal Exception: NSInternalInconsistencyException
attempt to delete and reload the same index path (<NSIndexPath: 0x1d4429640> {length = 2, path = 2 - 5})

Video recording options still exist even if I set the capture settings to .photo only

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!

synq for ios upload

Embedding in a ViewController

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.