Nikita Ilyasov
Nikita Ilyasov

Reputation: 500

Multitask gestures not working with alert

After UIViewAlert has become visible, multitask gestures cannot be used. How can I fix it? Is it a normal behavior?

EDIT:

Looks like creating custom view is a good idea. I just wanted to know, if it can be done nice and easily.

Upvotes: 0

Views: 104

Answers (2)

Ashish Chauhan
Ashish Chauhan

Reputation: 1376

When UIAlertView appears, its freeze whole screen. You can't get the touch on screen thats why your gesture is not working. First dismiss the alert view then your gesture will work.

Upvotes: 1

Callum Jones
Callum Jones

Reputation: 595

This is normal behaviour, UIAlerts are designed to occupy the whole focus of the device. If you want to allow gestures, try creating your own UIView that overlays on top of your running application.

Upvotes: 0

Related Questions