3

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

Shubham Narang
  • 514
  • 2
  • 14

1 Answers1

5

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.

Totka
  • 627
  • 6
  • 24
  • This is a bogus answer! Yes, UIActionSheet is deprecated in iOS8, meaning its use is not encouraged and may be removed in future iOS. *However* it works fine in iOS8 - while there are some changes that make it work differently - to wit, `[actSheet showInView:self.view.window]` doesn't seem to work - but note that was sending UIWindow w/o controller. So the question is right, albeit incomplete - and this answer is wrong – Nas Banov Feb 14 '15 at 19:22