objective c - UIActivityViewController Messenger not working on iOS Simulator -


i'm getting following result when try initialize messenger component of uiactivityviewcontroller:

enter image description here

i'm using code instantiate uiactivityviewcontroller:

 nsstring *texttoshare = @"text shared";         nsarray *itemstoshare = [[nsarray alloc] initwithobjects:texttoshare, nil];         uiactivityviewcontroller *activityvc = [[uiactivityviewcontroller alloc] initwithactivityitems:itemstoshare applicationactivities:nil];         activityvc.excludedactivitytypes = [[nsarray alloc] initwithobjects: uiactivitytypeprint, uiactivitytypecopytopasteboard, uiactivitytypeassigntocontact, uiactivitytypesavetocameraroll, uiactivitytypeposttoweibo,uiactivitytypeposttofacebook,uiactivitytypeposttotwitter, nil];         [activityvc setvalue:@"my subject text" forkey:@"subject"];         [self presentviewcontroller:activityvc animated:yes completion:nil]; 

i following error in logs when attempt send message

launch services: unable find app identifier com.apple.mobilesms 2013-07-31 01:27:15.180 coolist[54111:c07] application tried push nil view controller on target <mfmessagecomposeviewcontroller: 0xa38db30>. 

is simulator problem?


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -