0
votes

IS it possible to display my action sheet above the Tab bar? If yes how can I do? Please advise me with an example?

I've tried the following code: [actionsheet showFromTabBar:self.tabBarController.tabBar]; but it doesn't reflect.

Note: I've set Tab Bar controller as Root Controller of my App.

1
What do you mean by "it doesn't reflect"? - rmaddy
Define "doesn't work". Those are useless words. Does the action sheet not display? Does it display but incorrectly? Does it crash? Be specific. - rmaddy
If u not wlling to answer just leave don't waste my time ok. - Gobinath Ed
I'm trying to help. That's why I am asking you for more details. So far you have not told us what the actual problem is. - rmaddy
We have got the answer: [actoinsheet showInView:[[[UIApplication sharedApplication] delegate] window]]; from a smart person - Gobinath Ed

1 Answers

2
votes

If you want to show action sheet above tab bar then just use below code

[actoinsheet showInView:[[[UIApplication sharedApplication] delegate] window]];