I have the following code that my view manager represents instead of the existing one:
let frameworkBundle = NSBundle(identifier: "me.app.MyFramework") var storyBoard:UIStoryboard = UIStoryboard(name: "MyStoryboard", bundle: frameworkBundle) var vc = storyBoard.instantiateInitialViewController() as MyPresenterViewController viewControllerToPresentIn.presentViewController(vc, animated: true, completion: nil)
But I want to present the viewcontroller on top of another programmatically,
any ideas?
ios swift
Dor cohen
source share