Skip to content
This repository was archived by the owner on Nov 28, 2020. It is now read-only.

如何处理[context display]时可能出现Loading进度条的情况? #36

@SamDivine

Description

@SamDivine

(感觉和 #34 碰见的情况挺像的)
我想获得 Time Profiler 模板中 Samples 那一个 context 中的数据,这一个 context 的数据获取方式理论上和 FPS 的获取方式是一样的,但是通常情况下数据点远多于 FPS,在 Instruments 中直接切换会出现一个 Loading 进度条然后才会载入完数据。

通过调试发现,这种情况下 [context display] 之后 context.container 中实际接管流程的是 XRModalViewController *_modalController 而不是 XRAnalysisCoreTableViewController *_tabularViewController,因此没法直接使用 _tabularViewController 直接获取数据。

不知在这种情况下应当用什么方法来正确地让 _tabularViewController 接管流程并获取数据呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions