UIActionsheet in Ios8

932 Views Asked by At

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

1

There are 1 best solutions below

1
Totka On

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.