简体   繁体   English

iPhone SDK-如何实现类似Apple的UIAlertView评级?

[英]IPhone SDK - How do I implement an Apple like rating UIAlertView?

Does anyone have an Idea how to implement an UIAlertView for rating purpose like Apple show when you are removing an app from the iPhone? 当您从iPhone删除应用程序时,是否有人有想法如何实现UIAlertView以用于评级目的(如Apple Show)?
You can choose how many stars to rate the app or don't rate it at all. 您可以选择对应用程序评分的星数,也可以完全不对其评分。
I already have a view that shows the stars according to the user touches but don't know how to connect it to the UIAlertView... 我已经有一个视图,可以根据用户的触摸显示星星,但是不知道如何将其连接到UIAlertView ...

Thanks! 谢谢!

一个很好的教程如何做到这一点: http : //iphonedevelopment.blogspot.com/2010/05/custom-alert-views.html

I like the TSAlertView . 我喜欢TSAlertView It's a complete replacement of UIAlertView based on UIView. 它完全替代了基于UIView的UIAlertView。 So you don't use any private APIs. 因此,您不使用任何私有API。 I used it in multiple projects and I really like it. 我在多个项目中使用了它,我真的很喜欢它。 Take a look at it. 看一看。 With that one it should be easy to add your "starview" to the AlertView becuase you have methods to add a contentView. 有了它,将您的“ starview”添加到AlertView应该很容易,因为您有添加ContentView的方法。

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

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