Skip to content

iOS功能弹窗,简单即可实现功能弹窗功能

Notifications You must be signed in to change notification settings

ChinaJackSion/TTShareView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

TTShareView

参考 IGShareView 进行了修改 https://github.com/luckyxiangfeng/IGShareViewDemo

iOS功能弹窗,简单即可实现功能弹窗功能

几行代码即可实现效果:

代码示例:可定义每行的个数

  TTShareViewItem *item1 = [TTShareViewItem itemWithTitle:@"微信" icon:@"tt_share_wx" handler:^{
    
}];

TTShareViewItem *item2 = [TTShareViewItem itemWithTitle:@"QQ" icon:@"tt_share_qq" handler:^{
    
}];

TTShareViewItem *item3 = [TTShareViewItem itemWithTitle:@"朋友圈" icon:@"tt_share_circle" handler:^{
    
}];

TTShareView *shareView = [[TTShareView alloc] initWithShareItems:@[item1,item2,item3] frame:self.view.bounds];
//每行的数量
shareView.columns = 3;
[shareView showFromControlle:self];

About

iOS功能弹窗,简单即可实现功能弹窗功能

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published