简体   繁体   English

如何像在iPhone(iOS 5)上的Music App中一样为UITableViewCell创建弹出窗口

[英]How to create a popup for the UITableViewCell like in Music App on iPhone (iOS 5)

Is there a simple way to create a popup like on the follow picture: 有没有一种简单的方法可以创建弹出窗口,如下图所示:

音乐应用的屏幕截图

The popup should only show up while pressing on the UITableViewCell and after releasing the touch event it should disappear. 弹出窗口仅在按下UITableViewCell时显示,释放触摸事件后应消失。 I wanna get the same behavior like on the iOS 5 (iPhone/iPod Touch) 我想得到与iOS 5(iPhone / iPod Touch)相同的行为

I also checked WEPopover . 我还检查了WEPopover But I would like to know if there is a native way to do it like apple. 但是我想知道是否有像苹果这样的本地方法。

On github there is a beautiful project that respond on you question! 在github上有一个漂亮的项目可以回答您的问题!

Here the code: https://github.com/chrismiles/CMPopTipView 这里的代码: https : //github.com/chrismiles/CMPopTipView

Easy to use. 易于使用。

A 一种

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM