Popover完成点击事件一个新的弹出窗口

时间:2016-02-26 07:14:15

标签: ios uipopovercontroller popover

我想让popover完成点击事件一个新的弹出窗口。我怎么能这样做?

Screenshot

popover custom class and get web service 

NSMutableDictionary *dictkey = [[NSMutableDictionary alloc] init];



_VKSelection = [VKSelection customVKPopoverWithView:SELECTION_TYPE_MULTIPLE listArray:arrList selectedArray:selectedArray keyDictionary:dictkey inputType:inputType animation:SELECTION_ANIMATION_CROSS_DISSOLVE animationDuration:VK_SELECTION_DURATION isBGTransparent:NO borderColor:nil borderWidth:0 cornerRadius:4 contentFrame:CGRectMake(0, 0, 250, 400)];


[UIView transitionWithView:self.view duration:VK_POPOVER_DURATION options:UIViewAnimationOptionTransitionCrossDissolve animations:^{
    [self.navigationController.view addSubview: _VKSelection];
} completion:nil];

1 个答案:

答案 0 :(得分:0)

您可以使用MZFormSheetPresentationController。 https://cocoapods.org/pods/MZFormSheetPresentationController