mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Add option to hide "Add Image" attachment button
This commit is contained in:
@@ -69,6 +69,14 @@
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
Don't show the option to add images from the photo library
|
||||
|
||||
This is helpful if your application is landscape only, since the system UI for
|
||||
selecting an image from the photo library is portrait only
|
||||
*/
|
||||
@property (nonatomic) BOOL hideImageAttachmentButton;
|
||||
|
||||
/**
|
||||
An array of data objects that should be used to prefill the compose view content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user