mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Added button to expired page (and alert) that lets the user check for a new version
- Added option to disable the option via new `disableUpdateCheckOptionWhenExpired` property
This commit is contained in:
@@ -200,12 +200,30 @@ typedef NS_ENUM (NSUInteger, BITUpdateSetting) {
|
||||
When running the app from the App Store, this setting is ignored.
|
||||
|
||||
*Default*: nil
|
||||
@see disableUpdateCheckOptionWhenExpired
|
||||
@see [BITUpdateManagerDelegate shouldDisplayExpiryAlertForUpdateManager:]
|
||||
@see [BITUpdateManagerDelegate didDisplayExpiryAlertForUpdateManager:]
|
||||
@warning This only works when using Ad-Hoc provisioning profiles!
|
||||
*/
|
||||
@property (nonatomic, strong) NSDate *expiryDate;
|
||||
|
||||
/**
|
||||
Disable the update check button from expiry screen or alerts
|
||||
|
||||
If do not want your users to be able to check for updates once a version is expired,
|
||||
then enable this property.
|
||||
|
||||
If this is not enabled, the users will be able to check for updates and install them
|
||||
if any is available for the current device.
|
||||
|
||||
*Default*: NO
|
||||
@see expiryDate
|
||||
@see [BITUpdateManagerDelegate shouldDisplayExpiryAlertForUpdateManager:]
|
||||
@see [BITUpdateManagerDelegate didDisplayExpiryAlertForUpdateManager:]
|
||||
@warning This only works when using Ad-Hoc provisioning profiles!
|
||||
*/
|
||||
@property (nonatomic) BOOL disableUpdateCheckOptionWhenExpired;
|
||||
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name User Interface
|
||||
|
||||
Reference in New Issue
Block a user