An open API service indexing awesome lists of open source software.

https://github.com/kittenyang/kysharemenu

带弹性动画的分享菜单
https://github.com/kittenyang/kysharemenu

Last synced: 2 months ago
JSON representation

带弹性动画的分享菜单

Awesome Lists containing this project

README

        

# KYShareMenu
带弹性动画的分享菜单

![](demo.gif)

##Usage

本Demo使用了[onevcat](https://github.com/onevcat)的[VVBlurPresentation](https://github.com/onevcat/VVBlurPresentation)实现present之后背景模糊。

```
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
KYShareViewController *shareVC = segue.destinationViewController;
shareVC.delegate = self;
shareVC.blurStyle = UIBlurEffectStyleDark;
}
```

或者

```
-(IBAction)showMenu:(id)sender{
KYShareViewController *shareVC = segue.destinationViewController;
shareVC.delegate = self;
shareVC.blurStyle = UIBlurEffectStyleDark;
[self presentViewController:shareVC animated:YES completion:nil];
}
```

##Required

iOS8+