How can I set CG_CONTEXT_SHOW_BACKTRACE environmental variable?

后端 未结 4 1120
隐瞒了意图╮
隐瞒了意图╮ 2020-11-27 13:45

I have three buttons in my view. After setting the cornerRadus in the viewDidLoad() : button.layer.cornerRadius = 20 I get the following error message in the lo

4条回答
  •  醉梦人生
    2020-11-27 13:55

    This problem happen with Xcode 7. In my case i removed the UIViewControllerBasedStatusBarAppearance from Info.plist and the problem solved! See the answer in this post:

提交回复
热议问题