类似淘宝app的选择商品SKU切换效果
QXActionSheet只负责制作切换效果动画,sheet上面的内容请自定义addSubView到contentView上
演示效果:
self.as = [[QXActionSheet alloc] initWithHeight:420
isNeedPerspective:YES];
self.as.delegate = self;
[self.view addSubview:self.as];
[self.as.contentView addSubview:showView];
#pragma mark - QXActionSheetDelegate
- (void)actionSheetWillClose:(QXActionSheet*)actionSheet
{
NSLog(@"actionSheetWillClose");
}
- (void)actionSheetDidClose:(QXActionSheet*)actionSheet
{
NSLog(@"actionSheetDidClose");
self.navigationController.navigationBarHidden = NO;
self.as = nil;
}