ios - Xcode Segue View Controller Right to left without UINavigation -
i want transition view controller right left (just navigation controller it) without uinavigationcontroller embedded. i'm using xcode 7 , standard segue seems not have option. guidance welcome!!!
if want hack, can this:
catransition *transition = [catransition animation]; transition.duration = 0.3; transition.timingfunction = [camediatimingfunction functionwithname:kcamediatimingfunctioneaseineaseout]; transition.type = kcatransitionpush; transition.subtype = kcatransitionfromright; [self.view.window.layer addanimation:transition forkey:nil]; [self presentmodalviewcontroller:viewctrl animated:no];
you should use navigation controller or write custom transition animation see here project animation want.
let transition = catransition() transition.duration = 0.3 transition.timingfunction = camediatimingfunction(name: kcamediatimingfunctioneaseineaseout) transition.type = kcatransitionpush transition.subtype = kcatransitionfromright self.view.window?.layer.addanimation(transition,forkey:nil) self.presentviewcontroller(viewctrl, animated: false, completion: nil)
if need in swift.
Comments
Post a Comment