TransitionTreasury icon indicating copy to clipboard operation
TransitionTreasury copied to clipboard

remove mask view once presentviewcontroller presented

Open codal-jayeshk opened this issue 5 years ago • 0 comments

I am presenting view controller with Evelate transition method but I want to hide mask view after the presenting controller.

is there any way for that?

let updateTransition: TRPresentTransitionMethod = { switch self.presentTransition[indexPath.row].name { case "Elevate": return .elevate(maskView: cell.imageView!, to: UIScreen.main.tr_center) default: return self.presentTransition[indexPath.row].presentMethod } }() tr_presentViewController(nav, method: updateTransition, completion: { print("Present finished.") })

codal-jayeshk avatar Oct 31 '19 11:10 codal-jayeshk