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
2 answers

How do I detect when a UIActionSheet has been dismissed?

I'm pretty new to iPhone dev, so any help is appreciated. I am creating an action sheet within a function and adding it to the current view. I have the sheet delegate as 'self' and the action sheet is not retained. Is there a function like the…
Mike Webb
  • 8,855
  • 18
  • 78
  • 111
0
votes
0 answers

Animation not playing after dismissViewController iOS

I have an "AViewController" is root viewController and I have an image is playing animation infinite loop. - (void)rotateImageView { [UIView animateWithDuration:1 delay:0 options:UIViewAnimationOptionCurveLinear animations:^{ …
user3449256
  • 1
  • 1
  • 1
0
votes
1 answer

I need to dismiss my PopupWindow, but the dismiss function isn't working

The title describes it rather well; A PopupWindow opens, and is used as a menu for my game. However, when I try to use a button to close the menu, Eclipse says "The local variable pw may not have been initialized" :\ My Java code: package…
BipBapApps
  • 73
  • 1
  • 10
0
votes
3 answers

Dismiss UIview form the popup IOS7

In my application I'm displaying the UIView as a popup when user click the button now the problem is it's not dismissing when click somewhere in the application please tell me how to dismiss the UIView popup. Here is the code which user for popup. -…
user3427551
  • 347
  • 1
  • 7
  • 17
0
votes
1 answer

Game Center not dismissing?

Im trying to dismiss Game Center when the user is pressing Done, why is this not working?? I've looked at the Apple docs and Googled it ever way I can think of, what is wrong? GCHelper.h #import #import…
Jason
  • 650
  • 2
  • 10
  • 33
0
votes
1 answer

SWRevealViewController dismiss correctly to navigate to next storyboard?

I have 2 storyboard login.storyboard and main.storybard. On the *main.storyboard I use the SWRevealViewController. In the sidebarmenu of the SWRevealViewController I have a logout function, which do the logout and redirect to the login.storyboard.…
jerik
  • 5,714
  • 8
  • 41
  • 80
0
votes
1 answer

PopupWindow dismiss does not work properly

Please help me out here. I have set in my main activity a popup window when i press on the first button. It worked fine and i could close it both via a close button i have set up and if i wanted to touch on the outer side as well. But I needed…
mido_sama
  • 1
  • 1
0
votes
1 answer

how can I remove a list dialog in android if it does not have a positive or negative button?

how can i get this alert dialog to close if any of the list items where hit? I've been all over the net looking for the solution to this, and because there is not positive or negative button, I have no idea how to get access to the diologInterface…
AlexW.H.B.
  • 1,781
  • 3
  • 25
  • 50
0
votes
1 answer

dismiss divs and when all are dismissed the wrapper is auto dismiss

Content Here

Content Here

Ron Jb
  • 77
  • 1
  • 8
0
votes
2 answers

Android, ViewClass has leaked window

i made a small app where i load a new view with TYPE_SYSTEM_OVERLAY and now i want to close it by click to a button and i got the error: Activity com.example.viewandbutton.View2Class has leaked window android.widget.RelativeLayout@44957168 that was…
miholzi
  • 922
  • 1
  • 14
  • 36
0
votes
3 answers

Android: Exit application from custom dialog

I created a custom dialog for my main activity with two buttons, Exit and Continue: public class AgeConfirmationDialog extends Dialog { public AgeConfirmationDialog(Activity a) { super(a); } protected void onCreate(Bundle…
Edward
  • 355
  • 1
  • 5
  • 16
0
votes
1 answer

dismissViewControllerAnimated ignoring transition style

I'm having a little trouble with dismissViewControllerAnimated, I can't get it to perform a certain transition. I have a view controller (home), and I'm opening another VC (login) using a modal. I can then navigate between 2 modals (login &…
Adrian
  • 1,046
  • 7
  • 12
0
votes
2 answers

DismissViewController dismissing two UIViewControllers

I´m presenting a view this way: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { ContractDetailsViewController *contractDetailsViewController = [[ContractDetailsViewController alloc] init]; …
bruno
  • 2,154
  • 5
  • 39
  • 64
0
votes
1 answer

PopupWindow method dismiss, implemented in a library won´t close the popup

I created a class with a button that shows a popup defined in a library. The popup has a close button. When I tap on the close button it tries to execute dismiss method but It does not work. I would like to know why this method (dismiss) is not…
alekandro
  • 11
  • 1
  • 4
0
votes
0 answers

Release a Login Screen

I have just started getting into coding and have found Parse, which helps you code in a login screen and uses their web databases to store info. I have gotten the login to pop up and is working, but after it accepts my authentication I cannot get…
kkolcz
  • 3
  • 3