Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIActionsheet in Ios8

I have implemented actionsheet in my project having deploy target ios7 and less actionsheet works fine.

UIActionsheet in Ios8 not working same as other version of Ios. How i make it working properly?

Thanks

like image 444
Shubham Narang Avatar asked Dec 08 '25 19:12

Shubham Narang


1 Answers

UIActionSheet is deprecated from iOS8, You should use UIAlertController. You have to choose the alert style: it could be an AlertView or a Sheet. Check here for Apple reference. See this for an example.

like image 101
Totka Avatar answered Dec 10 '25 10:12

Totka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!