项目
在 GitHub 查看 
liyong03/YLLongTapShare
关于
适用于 iOS 的长按分享控件。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文YLLongTapShare
Long Tap Sharing control for iOS. Inspired by this design.

###Get Start Using CocoaPods to get start, you can add following line to your Podfile:
pod 'YLLongTapShare'
###How to use it For using this control, it's very easy, after adding source file to your project, using following code to enable the long tap share function.
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"facebook"] andTitle:@"Facebook"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"pinterest"] andTitle:@"Pinterest"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"instagram"] andTitle:@"Instagram"]];
It support YLLongTapShareView and UIButton. The default color of this control is white, for customizing the color apperance, you can implmenet following delegate function:
- (UIColor*)colorOfShareView {
return [UIColor redColor];
}
###Welcome pull request With your help, we can continually improve this control.
Thanks.
探索相关项目
加载中…