Top "Dismiss" questions

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

Is there a way to dismiss an no button UIalertView after some time?

UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"tittle" message:@"" delegate:self cancelButtonTitle:@"" otherButtonTitles:nil]; [alertView show]; [alertView release]; i want to dimiss …

ios objective-c uialertview dismiss
Dismiss pushed view controller

So I have a view controller which I display as follows: func showProfileForTrainer(trainer: Trainers) { let viewPTProfileVC = ViewPTProfileVC() viewPTProfileVC.trainer = …

ios swift uiviewcontroller viewcontroller dismiss
IOS: dismiss two viewController

I have three viewController First, Second and Third from Second to open Third I use Third *third = [[Third alloc]initWithNibName:@"…

ios xcode uiviewcontroller dismiss
Dismiss Modal View

If I'm not mistaken, modal views have to be dismissed from the parent view, not from the modal view itself. …

iphone ios dismiss modal-view
How to dismiss Snackbar when user does any action?

I can show snackbar like this. Snackbar snackbar = Snackbar.make(this.findViewById(android.R.id.content), "snackbar", Snackbar.LENGTH_INDEFINITE) .…

android dismiss snackbar indefinite
Android PopupWindow Does Not Dismiss

I've got the following code that creates a PopupWindow containing an EditText: lbs.setOnTouchListener(new OnTouchListener(){ @Override public boolean onTouch(…

android popupwindow dismiss
Dismissing multiple modal view controllers at once?

So have a stack with three view controllers where A is root, B is first modal view controller and C …

iphone uiviewcontroller modal-dialog dismiss
iPad: how to close UIPopoverController from within the "popped" ViewController

I'm converting and iphone project to ipad. On iphone I have a mainViewController that opens a loginViewController using addSubView. On …

ipad uipopovercontroller popover dismiss
How to disable snackbar's swipe-to-dismiss behavior

Is there a way to prevent the user from dismissing a snackbar by swiping on it? I have an app …

android swipe dismiss android-snackbar snackbar
How can I close UIVIewController?

I have a MainWindowController that I want to close on "touch inside" button event and open a new UIView. The …

iphone objective-c cocoa-touch uiviewcontroller dismiss