mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add simulating an app store update being available
Will be automatically disabled when run from a build distributed by the App Store
This commit is contained in:
committed by
Stephan Diederich
parent
166f2c7ccd
commit
7582f02a08
@@ -159,7 +159,29 @@ typedef enum {
|
||||
@property (nonatomic, assign, getter=isUpdateUIEnabled) BOOL updateUIEnabled;
|
||||
|
||||
|
||||
// manually start an update check
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name Tests
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
Define the simulated new version avaialble from the App Store
|
||||
|
||||
Set the version string that should be used for a simulated new version being available
|
||||
in the App Store.
|
||||
|
||||
*Default*: _NIL_
|
||||
|
||||
@warning This property is autoamtically disabled if accidentally being invoked in an
|
||||
App Store build.
|
||||
@see updateSetting
|
||||
*/
|
||||
@property (nonatomic, strong) NSString *simulatedNewStoreVersion;
|
||||
|
||||
|
||||
///-----------------------------------------------------------------------------
|
||||
/// @name Manual update checking
|
||||
///-----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
Check for an update
|
||||
|
||||
|
||||
Reference in New Issue
Block a user