uiactionsheet Questions
3
I was following this tutorial to add a simple share sheet to my SwiftUI app. It works properly on iPhones but crashes on iPad with this error:
Terminating app due to uncaught exception 'NSGenericE...
Rubi asked 13/4, 2021 at 16:21
10
Solved
I had been using following code to change text color of items which I add in UIActionSheet.:
- (void)willPresentActionSheet:(UIActionSheet *)actionSheet {
for (UIView *subview in actionSheet.subv...
Ilk asked 11/6, 2014 at 4:52
1
A number of others have asked this question, but it's never been answered. The problem seems trivial and yet it hasn't been addressed in Apple's documentation or elsewhere.
I'm presenting my UIAct...
Bulahbulawayo asked 2/4, 2013 at 12:12
12
Solved
In my project, I am using UIActionSheet for displaying for some sorting type. I want to change the color of the text displayed in the action sheet buttons. How can we change the text color?
Nebuchadnezzar asked 23/4, 2013 at 7:44
5
Solved
I am converting all my UIActionSheet and UIAlertView with UIAlertController.
My problem is when I try to present a UIAlertController of style ActionSheet.
Here is my code :
UIAlertController *ale...
Centigram asked 30/10, 2015 at 13:37
6
I'm novice in iPhone development. Can anyone tell me how to dismiss UIActionSheet control when i tapped outside of it?
In my actionSheet i have only datePicker control and it pops up over tab bar ...
Siebert asked 13/9, 2011 at 13:19
18
Solved
How can I present a UIActionSheet in Swift within an iOS app?
Here is my code for displaying a UIActionSheet:
@IBAction func downloadSheet(sender: AnyObject) {
let optionMenu = UIAlertController(t...
Outhaul asked 27/4, 2015 at 5:29
8
Is it possible to change the color of cancel button to red , i know we can by using Destructive style
let cancelActionButton: UIAlertAction = UIAlertAction(title: "Cancel", style: .Destructive) {...
Goles asked 1/9, 2016 at 9:47
11
Solved
How do i make a uiactionsheet dismiss when you tap outside eg above it? This is for iPhone. Apparently the ipad does this by default (I may be wrong).
Caryopsis asked 30/5, 2011 at 4:12
3
I want to call different action sheets in a view, using a variable. That does not mean to work.
.actionSheet(isPresented: self.$neuinitialisierung) {
ActionSheet(
title: Text("Testtitel 1"),
me...
Hagiolatry asked 13/10, 2019 at 19:32
0
I have created a SwiftUI view which I show in a MKMapView's annotation callout. I use UIHostingController to wrap the SwiftUI view, and use annotationView's detailCalloutAccessoryView property to s...
Araarab asked 23/3, 2021 at 23:27
5
Solved
I created an action sheet, but the problem is that the delegate method is not called
myActionSheet = UIActionSheet()
myActionSheet.addButtonWithTitle("Add event")
myActionSheet.addButtonWithTit...
Jacobo asked 11/6, 2014 at 21:7
1
Solved
I am trying to let my users choose Take a photo or pick from library in an ActionSheet
It works well on Iphone but not on Ipad
On Ipad : ActionSheet is at the top of screen, and not readable...
Al...
Aguish asked 16/12, 2020 at 13:29
5
Solved
What is the Android equivalence of the UIActionSheet in the iOS SDK? I am working on a React-Native project and need to maintain the use of native controls where possible. I have not come across an...
Rori asked 5/12, 2017 at 3:42
2
How to add multi line text with custom font in UIActionSheet swift.I have tried \n.but this is not working.is this possible or not.
Here is the my code.
alert.addAction(UIAlertAction(title: "l...
Dombrowski asked 5/9, 2019 at 13:35
8
I'm using ActionSheet in my application. On my iPhone it works, but it doesn't on the iPad simulator.
this is my code:
@IBAction func dialog(sender: AnyObject) {
let optionMenu = UIAlertContr...
Stralka asked 22/1, 2015 at 13:24
7
Solved
I am working on a project which I had already released with iOS-7. But now as the action sheet is making problem so I am now implementing UIAlertController. Following is the code which I am using f...
Lidialidice asked 13/10, 2014 at 13:18
8
Solved
currently i'm running into big trouble with my ActionSheet. On iPhone it works great, but on iPad it only crashes
I create a new project with only one button
import UIKit
extension ViewControlle...
Theola asked 25/9, 2014 at 12:56
3
I'm migrating an iOS app form UIWebView to WKWebView. So far so good... In the previous app I disabled long press and implemented a custom long press (to do custom handling of links), however I can...
Nunatak asked 20/10, 2014 at 7:26
8
I have a UIActionSheet containing a picker and a UIToolbar. On the UIToolBar there is a save button. However, some of my users reported pressing the save button before the UIPickerView stops spinni...
Duplicator asked 30/1, 2011 at 2:42
1
Solved
I want to be able to add an icon and text to the AlertButton but the type is a type Text?
struct NavigationAddItem: View {
@State var showActionView = true
var actionSheet: ActionSheet {
Actio...
Abdias asked 19/10, 2019 at 7:35
5
Solved
I wonder how to add check mark to the right of actionSheet button the simplest way?
Bellow is a screenshot of Podcasts app.
Disrespectable asked 17/11, 2016 at 4:59
5
Solved
I am creating a UIActionSheet on actionSheet:clickedButtonAtIndex delegate method.
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
if(buttonIndex == ...
Crosswise asked 14/6, 2012 at 9:19
8
Solved
Showing a UIPickerView with UIActionSheet in iOS8 not working
The code works in iOS7, however it is not working in iOS8. I'm sure it is because UIActionSheet is deprecated in iOS8 and Apple recomm...
Evalyn asked 20/6, 2014 at 14:54
10
Solved
I have working iOS application
In order to support iOS8, I am replacing UIAlertView/UIActionSheet with
UIAlertController.
Problem :
For display UIAlertController I need presentViewController
metho...
Holmann asked 26/8, 2014 at 11:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.