twitter - Custom iOS Tweet Sheet -


i looking have custom looking tweet sheet use in application.

obviously can build own , use twitter api posting; however, seem (maybe not work, can't say) take lot of work build, in features autocomplete user twitter followers etc.

is there anyway customize tweet sheet used apple's frameworks? looks god awful, compared design of app.

if not, can implement displaying friend results while typing in @user?

any thoughts, idea's, links, suggestions great. in advance!

you can use social.framework signing requests data accounts, in system.

second step - make own view tweeting.

third - acaccount. this:

acaccountstore *store = [[acaccountstore alloc] init];     acaccounttype *accounttypetwitter = [store accounttypewithaccounttypeidentifier:acaccounttypeidentifiertwitter];     [store requestaccesstoaccountswithtype:accounttypetwitter options:nil completion:^(bool granted, nserror *error) {                                      if(granted) {                                          dispatch_sync(dispatch_get_main_queue(), ^{                                              nsarray *accounts = [store accountswithaccounttype:accounttypetwitter];                                               //all twitter accounts in array, show sheet select 1 of them.                                          });                                      }                                  }]; 

fourth - send slrequest twitter post.

example of slrequest (to information user):

 nsurl *url = [nsurl urlwithstring:[nsstring stringwithformat:@"https://api.twitter.com/1.1/users/show.json?screen_name=%@",account.username]];          slrequest *req = [slrequest requestforservicetype:slservicetypetwitter requestmethod:slrequestmethodget url:url parameters:nil];         [req setaccount:account];         [req performrequestwithhandler:^(nsdata *respdata, nshttpurlresponse *resp, nserror *err){ //req finished         }]; 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -