开发者

iPhone redo a pressed button in apple manner

开发者 https://www.devze.com 2023-01-23 12:08 出处:网络
As iPhone has a copy past feature for text, with a nice redo handler by shaking the phone, Im wondering whether I can use this feat开发者_C百科ure to redo a button touch action who was touched mistake

As iPhone has a copy past feature for text, with a nice redo handler by shaking the phone, Im wondering whether I can use this feat开发者_C百科ure to redo a button touch action who was touched mistakenly by the user.

Any idea?

Markus


Yes, you can. In short, you will want to use NSUndoManager or Core Data's undo capabilities to manage this.

For a more detailed description of this process, see my answer here.

0

精彩评论

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