TWTweetSheetViewControllerClassRefOverview

本文介绍了TWTweetComposeViewController类的功能与使用方法,该类为用户提供了一个用于撰写推文的视图。文章强调了在展示给用户前可以设置初始文本和其他内容,但无法在用户查看后更改推文。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文链接:
https://developer.apple.com/library/ios/documentation/Twitter/Reference/TWTweetSheetViewControllerClassRef/Reference/Reference.html#//apple_ref/doc/uid/TP40010943-CH1-DontLinkElementID_1

 

TWTweetComposeViewController Class Reference

Inherits from

UIViewController
:
UIResponder
:
NSObject

Conforms to

NSCoding
(UIViewController)UIAppearanceContainer
(UIViewController)NSObject
(NSObject)

Framework

/System/Library/Frameworks/Twitter.framework

Availability

Available in iOS 5.0 and later.

Declared in

TWTweetComposeViewController.h

Related sample code

Tweeting

Overview {.jump .zClassDescription_Name}

The TWTweetComposeViewController class presents a view to the user to
compose a tweet.

Although you may perform Twitter requests on behalf of the user, you
cannot append text, images, or URLs to tweets without the user’s
knowledge. Hence, you can set the initial text and other content before
presenting the tweet to the user but cannot change the tweet after the
user views it. All of the methods used to set the content of the tweet
return a Boolean value. The methods return NO if the content doesn’t
fit in the tweet or if the view was already presented to the …………………………………………………………………………

具体:http://www.verydemo.com/demo_c134_i56247.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值