Git Product home page Git Product logo

attachmentinput's People

Contributors

daikimat avatar daisuke-t-jp avatar dependabot[bot] avatar elmetal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

attachmentinput's Issues

Orientation of photo

Even if you shoot with sideways, it will be taken in portrait mode, if locked by Portrait Orientation Lock off of Control Center.
It is better not to depend on Portrait Orientation Lock off of Control Center.

Example app is broken with Imagepicker

There are two problems with FirstResponder control of Example app

Steps to reproduce of part 1

  1. Tap blue camera icon in inputAccessoryView to display the AttachmentInput keyboard
  2. Tap Camera button for pop to UIImagePickerController
  3. Tap Cancel or take photo
    => 💥 inputAccesoryView does not show

Steps to reproduce of part 2

  1. Tap blue camera icon in inputAccessoryView to display the AttachmentInput keyboard
  2. Tap Photos button for pop to UIImagePickerController
    => 💥 inputAccesoryView does not close

Build failed at Xcode 10.3

When I tried to run Example at Xcode 10.3, I got the below error.

Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4

DarkMode support

Must fix

  • 🐛Currently, white color file name is not displayed due to the white background of Example App when DarkMode

I hope you can

  • Make the camera button and Photo Libraries design look good

Update to Swift 5

First off, thank you kindly for such an excellent resource, and secondly could this library be updated to Swift 5 pretty please :)

Not work on iOS 13

following error on iOS13

2019-12-02 09:36:22.084390+0900 Example[3272:55481] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<PHAssetResource 0x600003b54c60> valueForUndefinedKey:]: this class is not key value coding-compliant for the key fileURL.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23c4f02e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50b97b20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23c4ebf9 -[NSException raise] + 9
	3   Foundation                          0x00007fff256f3f57 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 225
	4   Foundation                          0x00007fff256f2bca -[NSObject(NSKeyValueCoding) valueForKey:] + 317
	5   AttachmentInput                     0x000000010e887fc4 $s15AttachmentInput0aB5PhotoC14loadProperties33_1FCC08E61572B72CF196B385BD8ED7F5LL7phAssetySo7PHAssetC_tFyycfU_ + 1876
	6   AttachmentInput                     0x000000010e8700fd $sIeg_IeyB_TR + 45
	7   libdispatch.dylib                   0x000000010f38ddd4 _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x000000010f38ed48 _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x000000010f3955ef _dispatch_lane_serial_drain + 788
	10  libdispatch.dylib                   0x000000010f39617f _dispatch_lane_invoke + 422
	11  libdispatch.dylib                   0x000000010f3a1a4e _dispatch_workloop_worker_thread + 719
	12  libsystem_pthread.dylib             0x00007fff51bfd611 _pthread_wqthread + 421
	13  libsystem_pthread.dylib             0x00007fff51bfd3fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

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.