0
내 앱에 Twitter 통합을 구현 중입니다. 그러나 빈 대화 상자를 보여주는 setintialtext.트위터에 null이 표시되는 초기 텍스트가
내 코드는 다음과 같습니다
TWTweetComposeViewController *tweetSheet =
[[TWTweetComposeViewController alloc] init];
if ([TWTweetComposeViewController canSendTweet])
{
NSString *tw=[[NSString stringWithFormat:@"AT %@ %@ \n on %@\n %@ %@ %@ vs %@",lbl_vanueName.text,lbl_address.text,[arr_eventDate objectAtIndex:0],[arr_eventName objectAtIndex:0],[arr_EventType objectAtIndex:0],[arr_Contestant1 objectAtIndex:0],[arr_Contestant2 objectAtIndex:0]] retain];
NSLog(@" tw is:%@",tw); // work fine & got all values
[tweetSheet setInitialText:tw];
}