I am working on an iPad application. I have used email and print functionality into it. To show these options I have used UIActionSheet. But the size of UIActionSheet is too large. Can I set frames to UIActionSheet to reduce its size?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can at least change the
boundsof the action sheet, especially the height value. This can at even be done right after the call toshowFromToolbar:etc. Note that this does not reposition the buttons but only seems to add/remove space from the bottom of the action sheet.Before changing the layout one has to ask themselves if this is really necessary or if there might be any other option, but I’ve seen cases where this is necessary (e.g. an UIDatePicker within an UIActionSheet).