ios - Skydrive integration in iPhone App -


i'm developing app have integrated sky drive framework.but when try login app crashes.

here code

(ibaction)signinmethod:(id)sender { self.liveclient = [[liveconnectclient alloc] initwithclientid:app_client_id                                                       delegate:self                                                      userstate:@"initialize"]; }  - (void)authcompleted:(liveconnectsessionstatus) status            session:(liveconnectsession *) session          userstate:(id) userstate { if ([userstate isequal:@"initialize"]) {     nslog(@"initialized");     [self.liveclient login:self                      scopes:[nsarray arraywithobjects:@"wl.signin", nil]                    delegate:self                   userstate:@"signin"];  } if ([userstate isequal:@"signin"]) {     if (session != nil)     {         nslog(@"signed in");           }      } }  - (void)authfailed:(nserror *) error       userstate:(id)userstate { nslog(@"%@",[nsstring stringwithformat:@"error: %@", [error localizeddescription]]); //    [self.infolabel settext:[nsstring stringwithformat:@"error: %@", [error localizeddescription]]]; } 

edit

now i'm able login. getting error because didn't integrated framework properly.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -