1つのクラスファイル内で、複数のUIActionSheetを使う時はtagプロパティを使って、どのアクションシートのボタンがクリックされたのかを判別します。
actionsheet.tag = 1;
詳しくは以下のサイトを参照。
http://technical-iphone.blogspot.com/2010/05/uiactionsheet.html
http://stackoverflow.com/questions/349858/fitting-a-uidatepicker-into-a-uiactionsheet
上記サイトの一番したのコメント内のコードが正常に動きます。
showInViewで設定するviewは以下のサイトを参考に
http://d.hatena.ne.jp/griffin-stewie/20090220/p1
graffiti on the web
この投稿へのコメント
コメントはまだありません。