nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.15k stars 229 forks source link

Custom Attachment Size #218

Closed carlsondev closed 2 years ago

carlsondev commented 2 years ago

What does this implement/fix? Explain your changes.

This implements a simple (optional) AttachmentManagerDataSource method to allow for custom attachment sizes. For my own app, I found this functionality very needed and it has been tested continuously throughout my app's development with no issues.

Does this close any currently open issues?

Not to my knowledge, based on what I have seen/

Any relevant logs, error output, etc?

Any other comments?

This feature could be seen as niche but when it is needed, it is very helpful.

Where has this been tested?

Devices/Simulators: iPhoneXR, iPhone11, iPhone12, (+Max variants), iPad Air 4

iOS Version: iOS 14, iOS 15

Swift Version: Swift 4, Swift 5

InputBarAccessoryView Version: 5.4.0

carlsondev commented 2 years ago

Bump