-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a UIView with a date picker that I'd like to display in an action sheet. I'm using the following code:
-(IBAction) button_click:(id)sender{
//UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:@"the title" delegate:nil cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Destructive"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
UIActionSheet positioning is not centered when I open it in landscape mode. If I set bounds or change the frame. The contents inside the UIActionSheet which is a subview changes but the actual sheet remains in the same place which looks very awkward.
How do I move the UIActionSheet along with it's…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I can't touch any button in my UIActionSheet.
If I copy/paste this code in a new project, it works as expected.
I'm forcing the First Responder = doesn't work
I'm using [menu showFromTabBar:self.tabBarController.tabBar]; = doesn't work
I'm using [menu showInView:self.view.window]; = doesn't…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to display a pop with a UISwitch and a Done button when user taps on a button and save the state of the switch when the done button in the pop up is tapped.
So I use UIActionSheet to do this -
sheet = [[UIActionSheet alloc] initWithTitle:@"Switch Setting"
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I have to import some XML data into my app.
Now I open a UIActionSheet and add as a subview a UIActivityIndicatorView. Initially I show a progress wheel and a button with 'Cancel'.
When the XML has been imported, I want to hide the progress wheel (this it's easy) and change the button into…
>>> More