ios - FirstViewController doesn't work on removing the subview of SecondViewController -


The first view controller

I am using a UIStoryBoard, so that the first viewer View view as a subview, removing controller sub

  - (IBAction) btnMoveTo: (ID) sender {UIStoryboard * Storyboard = [UIStoryboard storyboardWithName: @ "Mainstoreboard" bundle: zero]; UIViewController * vc = [Storyboard Instant Viewer Identifier: @ "seconds"]; Vc.view.backgroundColor = [UIColor clear collar]; Self. Model Presentation Style = UIModal PresentationConfigurationSettings; [Self-Present Model Week Controller: Animated Vcc: No]; }   

second viewer. M

  - (zero) viewDidoad {self.view.opaque = YES; Self.view.backgroundColor = [UIColor clear collar]; } - Draw with (IBAction): (ID) sender {[with self-view removal zoom animation: 2 options: zero]; }   

When I use with the Dre function, the second view controller's view is removed and the first viewer is back. However, when I use the button - (IBAction) the btnMoveTo: (id) sender function. It does not work, nothing really does happen. Any suggestions or help would be greatly appreciated.

Perhaps you can try declaring * vc as: UIViewController * VC = [manual . Storyboard Instantent ControlWire Indifier: @ "seconds"];

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -