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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -