I want to create an alertView that shows 2 buttons- Delete Photo and Cancel. I want the buttons to appear in different lines. But whenever I try, I get them in the same line.
How to add buttons in alertView in different lines?
121 Views Asked by JMS At
1
There are 1 best solutions below
Related Questions in UIALERTVIEW
- root view controller present in global function crash in iPad
- SwiftUI: Present Sf Symbol in alert not showing
- How to transition to a new view in swiftui
- WkwebView Crash On request audio & microphone pop up ios 15.4
- UIAlertView Dismiss Returns to Home Screen
- UIAlert disappears when the page is change
- Customize ATT prompt on iOS
- reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
- Pushnavigation is not working with custom alert in swift
- How should I really remove UIAlertview from view - Text run over the previous text bug
- Presenting UIAlertController from UINavigationItem extension
- How do I remove the deprecated UIAlertView from my code without significant refactoring?
- Get presentViewController from non view class (Objective-C)
- Is there way to get the text field value in UIAlertAction?
- How to append new string to array via UITextField located in one VC, to populate TableView located in another?
Related Questions in XCODE4.5
- How to test IOS 6 on XCode 7 El Capitan?
- Unable to install Xcode 4.5.2 in OS X El Capitan 10.11
- No valid app key, exiting
- Navigation Bar color change
- Xcode 5 crashes while opening the .xib files developed in Xcode 4.6?
- Max version of Cordova on xcode 4.5
- Switch between Xcode 6 and Xcode 4.5
- CRTP error with XCode 4.5.2 - Parse Issue, expected expression
- Xcode font needed
- UISlider Custom Thumb Image Resizing Issue
- How to add browser history in UIWebView?
- How to add buttons in alertView in different lines?
- Terminating app due to uncaught exception 'NSUnknownKeyException'
- Cocos2D 3.1 Xcode 4.5.2 Default project not compile
- Terminating app due to uncaught exception 'NSInvalidArgumentException' unrecognized selector sent to instance
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is no SDK support for this. Button will appear in one per line if you have more than two button. But for two button it will be in one line.
But its possible by subclassing
UIAlertView. But apple says: