TWTRLogInButton Class Reference
Inherits from | UIButton |
---|---|
Declared in | TWTRLogInButton.h |
logInCompletion
The completion block to be called with a TWTRSession
if successful,
and a NSError
if logging in failed or was canceled.
@property (nonatomic, copy) TWTRLogInCompletion logInCompletion
Declared In
TWTRLogInButton.h
+ buttonWithLogInCompletion:
Returns a new log in button which launches Twitter log in when tapped and
calls completion
when logging in succeeds or fails.
+ (instancetype)buttonWithLogInCompletion:(TWTRLogInCompletion)completion
Parameters
completion |
The completion to be called with a |
---|
Return Value
An initialized TWTRLogInButton
.
Discussion
Internally, this button simply calls [TWTRTwitter logInWithCompletion:]
.
Declared In
TWTRLogInButton.h