UIWorkIntervalTiming workIntervalStart

前端 未结 3 895
不知归路
不知归路 2021-02-01 01:17

Getting console log while scrolling ScrollView. Is there way to remove this?

2019-03-27 12:33:34.109573+0530 MyApp[10465:46241] [UIWorkInter

相关标签:
3条回答
  • 2021-02-01 01:23

    You can simply silence the noise from the simulator:

    1. Xcode Menu: Product -> Scheme -> Edit Scheme
    2. Select the Run(Debug)
    3. On Environment Variables section set OS_ACTIVITY_MODE = disable

      • Image

    Here is an image

    Unfortunately, I can't find any information relating to this issue in Apple documentation, but I believe that it is some diagnostic output which is used to analyze the scrolling performance.

    0 讨论(0)
  • 2021-02-01 01:44

    Check any third party UI/animation related library used with in scroll view/table view cell.Issue might be with those libraries.

    0 讨论(0)
  • 2021-02-01 01:45

    I can observe the same issue with a UICollectionView and UITableView. I suspect it is a diagnostic output used to analyse the scrolling performance.

    Note: I notice this issue from Xcode 10.2

    in UICollectionView if you swapping too much faster than collection getting Freeze for few moment on Simulator but Real Device working fine.

    Earlier Xcode version this features is UIWorkIntervalTiming had its logging privileges revoked

    0 讨论(0)
提交回复
热议问题