开发者

what is this iPhone UI technique called?

In iPhone UI terms, what's the name of the effect that causes additional options to appear when you tap-and-hold an element?

For example, when you hold down the "e" keyboard key for 开发者_Python百科a moment, causing the additional accent mark buttons to appear.

Is there an established approach to implementing this effect, or should I code it up from scratch?


I would call that hover...but I don't know if there's a standard or built in way to do it (sorry). Or for an OS9 throw back you could call it click and hold.


Umm… maybe an UICallout view, but those are forbidden. As seen in maps when you select a location.


I've seen it referred as touch and hold. About implementing it, I'm thinking about a no-repeat NSTimer that fires a certain amount of time from your touchDown event, and invalidates on touchUpInside or touchUpOutside, in case you stop the touch before the amount of time elapses.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜