开发者

iPhone, object on a picket sheet how do I detect when the action sheet is closed / dismissed?

How can I determine when an action sheet has closed or has been dismissed ?

I've followed this topic Fitting a UIDatePicker into a UIActionSheet and added a picker view to an action sheet. However the didSelectRo开发者_JS百科w event is called while action sheet is still open.

I want to update some data in my table view by changing some sql and re-querying my database, but having it refresh each click is slow, I want to refresh when the action sheet it gone ?


Store selected date value in some temporary variable. Then update your table view on action dismissed action (e.g. in actionSheet:didDismissWithButtonIndex: delegate method)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜