https://github.com/kittenyang/kysharemenu
带弹性动画的分享菜单
https://github.com/kittenyang/kysharemenu
Last synced: 2 months ago
JSON representation
带弹性动画的分享菜单
- Host: GitHub
- URL: https://github.com/kittenyang/kysharemenu
- Owner: KittenYang
- Created: 2015-03-24T14:54:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-28T15:16:06.000Z (about 10 years ago)
- Last Synced: 2025-03-20T13:32:22.809Z (2 months ago)
- Language: Objective-C
- Size: 814 KB
- Stars: 86
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KYShareMenu
带弹性动画的分享菜单
##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+