Skip to content

类似淘宝app的选择商品SKU切换效果

Notifications You must be signed in to change notification settings

jsfu/QXActionSheet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QXActionSheet

类似淘宝app的选择商品SKU切换效果

QXActionSheet只负责制作切换效果动画,sheet上面的内容请自定义addSubView到contentView上

演示效果:

image

init

self.as = [[QXActionSheet alloc] initWithHeight:420
                              isNeedPerspective:YES];
self.as.delegate = self;
[self.view addSubview:self.as];

addSubView

[self.as.contentView addSubview:showView];

delegate

#pragma mark - QXActionSheetDelegate
- (void)actionSheetWillClose:(QXActionSheet*)actionSheet
{
    NSLog(@"actionSheetWillClose");
}
- (void)actionSheetDidClose:(QXActionSheet*)actionSheet
{
    NSLog(@"actionSheetDidClose");
    self.navigationController.navigationBarHidden = NO;
    self.as = nil;
}

About

类似淘宝app的选择商品SKU切换效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%