【问题标题】:Change font in Container Views UIViewController更改容器视图 UIViewController 中的字体
【发布时间】:2015-07-25 18:10:53
【问题描述】:

我在 UIViewController (1) 中有一个容器视图。如何在容器视图生成的UIViewController (2) 中以编程方式更改 UIView 中标签的字体?

【问题讨论】:

  • 你可以在 google 上找到很多例子
  • 就是这样。我不能。不适用于这种特殊情况...从父 UIViewController 中访问子 UIViewController 和 UIView。

标签: ios iphone xcode uiviewcontroller uicontainerview


【解决方案1】:
    view.transform = CGAffineTransformMakeScale(1.3, 1.3);

【讨论】:

  • 这与原问题无关。
猜你喜欢
  • 1970-01-01
  • 2017-04-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-07-04
  • 1970-01-01
  • 2018-10-26
  • 1970-01-01
相关资源
最近更新 更多