How to Log In to the iOS SDK

When you launch the iOS SDK demo app, you’ll be presented with a TigerTest login screen. The following code authenticates the user and effectively logs them in.

[[TTKit sharedInstance] loginWithUserId:@"username" password:@"password"
success:^(TTUser *user) {
// Handle login.
} failure:^(NSError *error) {
// Handle failure.
}];