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
1 answer

Objective-C - Dismiss form sheet and page sheet at same time

I have a UINavigationController, in which I push a view controller with a UIModalPresentationPageSheet presentation style. From within this page sheet's view controller, I present a view controller with UIModalPresentationFormSheet style. When the…
jkh
  • 3,618
  • 8
  • 38
  • 66
0
votes
1 answer

Dismissing keyboard when user touches view

How can one dismiss the numeric keyboard when a user touches outside it? I have found a good bit of documentation online but it seems to be outdated and isn't very clear on where any of this code goes. I have tried using: -…
sdfrien
  • 37
  • 6
0
votes
1 answer

App Crashes with SKPSMTPMessage class

So I'm having a serious issue with this class... Currently, when the user actually sends an email out, the ActivityIndicator shows... great!!! as well as the UI not being frozen... Thats cool! Issue is, if the user pushes to another viewcontroller…
jsetting32
  • 1,632
  • 2
  • 20
  • 45
0
votes
1 answer

progress dialog does not dismiss

what I am trying to do is get the location of the user after they click a button, called location_Button, and then show a box that shows some info about their location. I have tried like this: Button location_Button=(Button)…
ez4nick
  • 9,756
  • 12
  • 37
  • 69
0
votes
3 answers

UITextView can't dismiss the keyboard in programmatically-created UITableView

There seems to be lots on this subject. But I couldn't get any of the solutions to work. My code creates a tableView full of cells with varying contents (based on a JSON), the user should enter the info in each cell. The problem I am having is,…
Recycled Steel
  • 2,272
  • 3
  • 30
  • 35
0
votes
2 answers

Android app rating dialog wont close

I'm developing an app that ask the user for rating it in the Play Store. It works well. If the user presses the Rate button it leads to the Play Store page for the app. Than if you press the Back button, my app goes in front showing the rating…
bearlysophisticated
  • 543
  • 1
  • 8
  • 19
0
votes
0 answers

Dismiss PopupMenu with remote control android

I'm programming on an Android Set-Top-Box, so I also have to implement onKey Events for the delivered remote control. My Problem is, that I'm creating a new PopupMenu and then want to dismiss it by certain keyEvents. In fact it should always…
Debidou
  • 1
  • 2
0
votes
1 answer

How do I forward data to a protocol before dismissing a view manually?

I want to dismiss a view controller manually using dismissViewController:animated. The problem is I want to save a value before I dismiss the view, otherwise it becomes null and I get no data in my first view. Does anyone have any idea how to do…
user1870035
0
votes
0 answers

Avoiding dismissing my dialog when the neutral button is pressed

In the onCreateDialog() method of my custom dialog, i set, using the builder, the positive, cancel and neutral button listeners. I want to use the neutral button to reset the dialog interface controls and do not want it to dismiss the dialog when…
Marco Masci
  • 818
  • 10
  • 22
0
votes
3 answers

Can not dismiss keyboard iOS. Nothing works

I'm new in iOS Development for iPhone. I can not dismiss keyboard, nothing works. Please help me, maybe I didn't notice anything? My .h file: #import "UIKit/UIKit.h" @interface ViewController : UIViewController @property (weak,…
Mr.Milannist
  • 39
  • 1
  • 10
0
votes
1 answer

Error while dismissing a dialog in Android

When I press Cancel (Vazgeç) button in a dialog, it disappear. But when I press it again, an error occurs. I think I couldn't dismiss the dialog. Here is my code: sifrePencere.setTitle("Çıkış"); sifrePencere.setMessage("Uygulamayı kapatmak için…
halilkaya
  • 467
  • 6
  • 21
0
votes
3 answers

"Are you sure you want to leave this page?" functions for cancel and OK

i'm trying to do something similar to some websites where you leave and it'll display a popup saying "Are you sure you want to leave this page" and with two options saying "Cancel" and "OK". How would I do that and make it so when you click "Cancel"…
user1783703
  • 1
  • 2
  • 2
0
votes
2 answers

IOS Keyboard dismissing when grouped table view is used

iPhone App : i have a screen with 3 textfields to enter name, email and location. i have used grouped table view with 2 sections. in tat first section has three cells.. each cell has a label n a textfield.. eg: label called name and a text box…
Manju Basha
  • 665
  • 1
  • 9
  • 29
0
votes
2 answers

After sending an in App email with photo attachment the Email window won't dismiss even when I hit send or cancel

I'm in a bit of trouble, I've spent half a day working onto this issue I have with no major results after all deprecations in iOS6 and other issues. This iOS app, has a send email option when after pushing a button, the app takes a screenshot of my…
Dashony
  • 141
  • 1
  • 1
  • 10
0
votes
1 answer

iOS "Done" button to dismiss modal or to complete Edit?

In iOS, I have some modal scenes that dismiss with a "Done" button in a toolbar. But one of those modal scenes includes an editable UITableView. So I also have a standard Edit button (in a NavBar). While Editing, that button is renamed "Done" (and…
jbbenni
  • 1,158
  • 12
  • 31