UIImage在屏幕/窗口/超级视图上的位置

时间:2019-05-17 10:39:24

标签: ios swift uiimage nsattributedstring superview

我想在UIButton的末尾添加一个NSAttributedString。我无法做到这一点,因为NSAttachment仅需要UIImage

因此,我在UIImage中添加了NSAttributedString作为附件并保存了其引用。现在,我想获取此UIImageUIScreenUIWindowSuperview上的位置,以将UIButton放在图像的位置。有可能吗?

0 个答案:

没有答案
相关问题