相关疑难解决方法(0)

在通话状态栏中(无法满足约束条件)

就像这个问题:自动布局和通话中状态栏和这个问题:调整通话状态栏的大小?,我在调用状态栏中遇到问题,搞砸了我的视图布局.

这是我的嵌套结构.我有一个嵌套在另一个ViewController中的自定义模态ViewController.每当显示In Call Status Bar(然后关闭)时,会发生以下情况:

在此输入图像描述

下面是显示In Call Status Bar之前应该是什么样子的图片:

在此输入图像描述

发生错误后状态栏的背景蓝色是根视图控制器的背景颜色.

每当显示"呼叫状态栏"时,将打印出以下错误:

Unable to simultaneously satisfy constraints.
    Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for …
Run Code Online (Sandbox Code Playgroud)

statusbar uiviewcontroller ios

32
推荐指数
3
解决办法
4570
查看次数

标签 统计

ios ×1

statusbar ×1

uiviewcontroller ×1