Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

I can't login to the app at first attempt but after trying 3 times then only I am able to login in the app.

$
0
0

my codes are following :

 

 

- (IBAction)done:(id)sender

{   

[selfsetField:jidFieldforKey:kXMPPmyJID];

  ///  [self setField:passwordField forKey:kXMPPmyPassword];

    [selfsetPass:passwordFieldforKey:kXMPPmyPassword];

 

   

      RootViewController *root = [[RootViewControlleralloc] initWithNibName:@"RootViewController"bundle:nil];

    [root initWithPassword:passwordField.textinitWithUser:jidField.text];

     //[[ self appDelegate]  setupStream];

    [ [ selfappDelegate] xmppStreamDidConnect: [[selfappDelegate] xmppStream]];

    //[ [ self appDelegate] goOnline];

       [windowsetRootViewController:navigationController];

    // [self.window setRootViewController:settingsViewController];

    [windowmakeKeyAndVisible];

   

    //[self presentViewController:root animated:YES completion:nil];

   [selfdismissViewControllerAnimated:YEScompletion:NULL];

   

   }

Can anyone help me to login at first time?


Viewing all articles
Browse latest Browse all 4979

Trending Articles