8
A
回答
5
就这么简单
[imageView addSubview:yourLabel];
11
的UIImageView是的UIView的子类,所以你可以添加任何UI对象到它。
UILabel *xlabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 20)];
xlabel.text = @"xxx";
[myImageView addSubview:xLabel];
相关问题
- 1. 将UILabel添加到CellForRow中的UIImageView中
- 2. UISlider - 将UILabel添加到最小/最大UIImageView?
- 3. 将按钮添加到UILabel
- 4. 在didSelectRowAtIndexPath + uiTableview上添加uiimageview和uilabel
- 5. 如何在UIImageView中添加UILabel
- 6. 将UIImageView添加到UIScrollView
- 7. 将UUD添加到UIImageView
- 8. 将UIImageView添加到UIScrollView
- 9. 将注释添加到UIImageView
- 10. 将UIImageView添加到UIScrollView
- 11. 将UIImageView添加到UITableViewCell?
- 12. 将UIImageView添加到UIButton
- 13. 添加UIImageView到UIView
- 14. 如何将UILabel添加到UIAlertController中
- 15. 如何将UILabel添加到UIToolbar?
- 16. 将CALayer添加到UILabel文本
- 17. 将背景图像添加到UILabel
- 18. 将UILabel添加到UITableViewCell的detailTextLabel
- 19. 如何将反射添加到UILabel。 IOS
- 20. Objective C如何将UiLabel添加到UiScrollWiev
- 21. 将UIImageView添加到自定义UITableView Cell
- 22. 将UIImageView添加到子视图中
- 23. 如何将UIPanGestureRecognizer添加到UIImageView中
- 24. Xamarin Studio:将UIimageView添加到UIView
- 25. 将多个UIImageView添加到子类UIView
- 26. 如何将UIImageView添加到MKOverlayRenderer?
- 27. 将上下文菜单添加到UIImageView
- 28. 如何添加UIImageView添加到邮件?
- 29. 添加UITapRecognizerController到的UIImageView
- 30. UIImageView没有添加到UIView