Skip to content

[Bug]: 自定义CustomBottomBannerViewController,按钮无法点击 #4788

@Antlers777

Description

@Antlers777

Mapbox Navigation SDK version

3.11.0

Steps to reproduce

1.我根据设计需求,对CustomBottomBannerViewController实现,但在我实现完页面后,内部的按钮在app首次渲染后无法点击。
2.旋转屏幕,按钮可以点击。
3.模拟器与真机都是这样

Expected behavior

  1. 找到原因
  2. 修复此问题

Actual behavior

view.addSubview(customBanner)
customBanner.addSubView(stopButton)
stopButton在首次渲染后无法触发

Is this a one-time issue or a repeatable issue?

repeatable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions