MCTweetbotActivity
MCTweetbotActivity is a UIActivity subclass that provides an “Open In Tweetbot” action to a UIActivityViewController.
Install / Use
/learn @MattCheetham/MCTweetbotActivityREADME
MCTweetbotActivity
MCTweetbotActivity is a UIActivity subclass that provides an "Open In Tweetbot" action to a UIActivityViewController.
Requirements
- iOS 6.0 or greater
Installation
Add the MCTweetbotActivity.m, MCTweetbotActivity.h and MCTweetbotActivityMedia.xcassets files to your project.
Usage
Simply create an instance of MCTweetbotActivity and pass that object into the applicationActivities array when creating a UIActivityViewController.
NSURL *URL = [NSURL URLWithString:@"http://google.com"];
MCTweetbotActivity *tweetbot = [MCTweetbotActivity new];
UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[URL] applicationActivities:@[tweetbot]];
Note that you can include the activity in any UIActivityViewController and it will only be shown to the user if there is a NSURL or NSString in the activity items.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
