ios - Warning: Attempt to present <UINavigationController while a presentation is in progress -


Contact Editor VC when I try to present receive an error message

alert : Attempts to submit & lt; UINavigationController: 0x15fe273f0 & gt; On & lt; UINavigationController: 0x15fe0e730 & gt; While a presentation work is in progress!

I believe that this is because my UIImagePickerController is still active.

Here are my didFinish is Method

  - (minus) imagePickerController: (UIImagePickerController *) picker didFinishPickingMediaWithInfo: (NSDictionary *) info {UIImage * Image = info [UIImagePickerControllerOriginalImage]; Animated: yes]; [Picker sharpening viewer unnecessary: ​​yes complete: zero]; [Self scan with image: image]; }   

As you can see, in the second message the VC should be dismissed, but it is not, and it remains till the end of execution of the application.

scanWithImage: end says showNewPersonViewController Here's the method:

  - (minus) showNewPersonViewController {ABNewPersonViewController * Picker = [[ABNewPersonViewController alloc] init]; Picker.displayedPerson = _person; Picker.newPersonViewDelegate = self; UINavigationController * Navigation = [[UINavigationController alloc] initWithRootViewController: picker]; // Change the status bar back to black due to making a white contact. [UIApplication ShareApp] .statusBarStyle = UIStatusBarStyleDefault; [Self-present ViewController: Animation Navigation: Yes Completed: Zero]; }   

I get an error message on the last line of that method, then the app eliminates its execution and returns the main VC. The

How can I get away with it and I just contact building displays VC

Let's try:?

  - (minus) imagePickerController: (UIImagePickerController *) picker didFinishPickingMediaWithInfo: (NSDictionary *) info {UIImage * image = information [UIImagePickerControllerOriginalImage]; // I think picker must transform themselves == defies this class, does not dismiss the picker [Self waste View Niyntrkanumti: Yes Full minus]; } // should implement [self scan with image: image]; In the guardian category in which the guardian class has a postureview. After the eviction, the Vice-Chancellor in which the picker is included is Delok, how you can [self-present ViewController: Animation Animation: yes can fulfill: zero];   

I think it can help you

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -