mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Some more documentation updates
This commit is contained in:
@@ -328,6 +328,9 @@ typedef NS_ENUM(NSUInteger, BITAuthenticatorAppRestrictionEnforcementFrequency)
|
|||||||
/**
|
/**
|
||||||
* Returns YES if this app is identified according to the setting in `identificationType`.
|
* Returns YES if this app is identified according to the setting in `identificationType`.
|
||||||
*
|
*
|
||||||
|
* Since the identification process is done asynchronously (contacting the server),
|
||||||
|
* you need to observe the value change via KVO.
|
||||||
|
*
|
||||||
* @see identificationType
|
* @see identificationType
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, assign, readonly, getter = isIdentified) BOOL identified;
|
@property (nonatomic, assign, readonly, getter = isIdentified) BOOL identified;
|
||||||
|
|||||||
@@ -217,4 +217,4 @@ As an alternative, you can implement your own workflow with following two method
|
|||||||
|
|
||||||
2. Validate that the user is still a tester, member, or developer of your app. This will show an alert and a modal view only if the user could not be validated. Otherwise, the process will succeed without showing a message or view:
|
2. Validate that the user is still a tester, member, or developer of your app. This will show an alert and a modal view only if the user could not be validated. Otherwise, the process will succeed without showing a message or view:
|
||||||
|
|
||||||
- (void) validateWithCompletion:(void(^)(BOOL validated, NSError *error)) completion;
|
- (void) validateWithCompletion:(void(^)(BOOL validated, NSError *error)) completion;
|
||||||
|
|||||||
Reference in New Issue
Block a user