2013-06-26 92 views

回答

3

沒有辦法確定用戶是否是中國人。所以你應該使用isAvailableForServiceType:

if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeSinaWeibo]) { 
    // sina weibo is available, and at least one account is set up 
} 
else { 
    // sina weibo is not available, or no accounts are set up 
}