Questions tagged [dismiss]

For questions related to calling the "dismiss" method in a button click listener.

By calling this method in a button click listener, the user can close a dialog and continue using the application.

633 questions
0
votes
4 answers

blank when presentViewController after dimissViewController immediately

I have a A viewController ,first, I present B viewController,after some work, I need to dismiss B viewController and present C viewController , so I use the following code in the A viewController: UIViewController *gp =…
0
votes
2 answers

Is there a way to see if the current UIViewController appeared from the dismissal of another UIViewController

My question is that I have one main UIViewController that allows three other UIViewControllers to be presented through it, but I am wondering if there is a way that once I dismiss one of those other three controllers, can the main UIViewController…
D34thSt4lker
  • 447
  • 1
  • 5
  • 12
0
votes
1 answer

Get Bounds after tap outside from a UIPopoverController

Imagine a ViewController with 2 UITextFields. When you tap on TextField1, it appears a Popover. Now, if I tap out of the popover, it disappears (OK). However, I want this behaviour: If I click outside of the popover, and this tap is on TextField2,…
Josue
  • 725
  • 2
  • 10
  • 22
0
votes
0 answers

Pull Dismiss ViewController Without BackBarButton

One of the best features I like in iOS 7 is the pull the dismiss option of ViewController. You can pull from the left side of the screen to return to the RootViewController. But you cannot do this if you hide you hide your BackBarButton and put…
Metin Say
  • 435
  • 1
  • 4
  • 13
0
votes
1 answer

android AlertDialog dismiss is not called

I've got some problem.. Well, I create AlertDialog using AlertDialog.Builder, than I using setContentView for setting OK and Cancel buttons and hang up some actions on the dismiss() method. BUT..when I touching anything else this buttons, dismiss()…
user2919966
  • 21
  • 1
  • 3
0
votes
1 answer

Undismissable Android dialog

I need an undismissable Android dialog or a view that can't be canceled. This solution works unless I hold the Home button and switch to another application. Is it possible to keep a dialog or a view above everything unless the application providing…
Maksim Dmitriev
  • 5,985
  • 12
  • 73
  • 138
0
votes
1 answer

UIDocumentInterationController item option menu will not dismiss when click in the Navigation bar

Title: UIDocumentInteractionController dismissing the popup when clicking anywhere in the navigation bar. My code works find. It works well in my iPhone and iPad simulator for the most part. It does what I want., however, my issue is dismissing the…
rettahdam
  • 1
  • 3
0
votes
0 answers

Android dialog dismiss delay

Have anyone noticed that after mDialog.dismiss(); the OnDismissListener is triggered approximately 0.1s later? Do you have any idea how to solve this?
Toochka
  • 894
  • 1
  • 9
  • 25
0
votes
1 answer

Dismissing UIPopover

I have a popover displayed from a barButton, I just want that when I tap a button in the popover the popover is dismissed. I tried a this way and adding a public method in the viewController that creates the popover to dismiss it, but nothing…
lucamozza
  • 31
  • 4
0
votes
1 answer

Cannot dismiss Modal View Controller after trying several options

Hi have this problem of a view that cannot be closed. I have read a lot of Q&As and I tried [self dismissModalViewControllerAnimated:YES] once it did not work I have tried calling the parent view: [self.parentViewController…
Simon
  • 509
  • 7
  • 25
0
votes
1 answer

Error while dismissing UITableViewController

I have been creating a project and I am getting a warning from the debugger: Warning: Attempt to dismiss from view controller while a presentation or dismiss is in progress! Here is the code: if (self.editHw) { if (self.homeworkEdit) { …
Abdullah Shafique
  • 6,878
  • 8
  • 35
  • 70
0
votes
1 answer

Dismiss a modal view get the parent view resized?

I have an issue with presenting/dismissing viewControllers on iOS Lets say i have an UIViewController *A and inside it a add a subview lets say UIViewController *mySubview this goes well as i can have N subviews dynamically within my first…
0
votes
1 answer

ImagePickerController crash presentViewController when called in UIStoryboardPopoverSegue

I have a viewcontroller called via UIStoryboardPopoverSegue and inside there is a button to call the imagePickerController, it's ok for the first call but the second time it crash. The code is use is ok when it is not through…
baste
  • 827
  • 2
  • 9
  • 18
0
votes
0 answers

Dismissing a presented view controller: how to show a view controller different from the former

I'm asking this in the context of the common scenario of having a modal "Log In" view, and then showing the main view of the app when the log in is successful and the view is dismissed (as it can be seen in Twitter, Evernote, and so on..), instead…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
0
votes
1 answer

IOS detecting touch to dismiss keyboard?

I am trying to figure out how to dismiss the keyboard and trigger a method when the user taps outside of a UITextField in TableViewCell.m: -(void)textFieldDidBeginEditing:(UITextField *)textField { [self.delegate cellDidBeginEditing:self]; } in…
Brian
  • 73
  • 2
  • 11