modal a view in semi window with CATransform 3D transformed efftect
// `In your viewController`
LPSemiModalView *mv = [[LPSemiModalView alloc] initWithSize:CGSizeMake(self.view.frame.size.width, 300) andBaseViewController:self];
// `activate simply`
[mv open];
// `dismiss simply`
[mv close];
// custom your view in contentView with whatever you want
[mv.contentView addSubView:yourView];
// will & did close semiModalView callback
// semiModalViewWillCloseBlock
mv.semiModalViewWillCloseBlock = ^{};
//semiModalViewDidCloseBlock
mv.semiModalViewDidCloseBlock = ^{};
- use cocoapods
pod 'LPSemiModalView', '~> 0.0.1'
- manual import
just download lib folder and add into your project
- 0.0.1
first release version