Ipad/Iphone UIActionSheet

Posted by SteveU on Stack Overflow See other posts from Stack Overflow or by SteveU
Published on 2010-04-25T21:26:43Z Indexed on 2010/04/25 21:33 UTC
Read the original article Hit count: 794

Filed under:
|
|

Hi All,

Ive only posted on here a couple of times and people have been very quick and very helpful when responding so thanks.

Im trying to use the UIActionsheet element in my Ipad application. But just to confuse matters im using Cocos2d aswell.

But here is my problem.

If coding the actionsheet with out cocos2d you would use the following code.

[actionSheet showInView:self.view];

However because im using cocos2d and there is no views as such the only thing i can think of to reference is the window.. But this is located in the appdelegate class.

ive tried

[actionSheet showInView:self.Window];

and i get errors

any help?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad