Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个社交网络应用程序,用户有时可以喜欢另一个用户写下的评论。现在我有一个图像视图,其中包含一个代表用户写的东西的图像,我希望能够在该图像的右上角显示一个小数字,其中包含他获得了多少个赞,我该怎么做?
为什么不简单地把UILabel喜欢的数量放在上面UIImageView呢?
UILabel
UIImageView