UIWorkIntervalTiming workIntervalStart

情到浓时终转凉″ 提交于 2020-01-22 04:56:06

问题


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

2019-03-27 12:33:34.109573+0530 MyApp[10465:46241] [UIWorkIntervalTiming] workIntervalStart: startTimestamp > targetTimestamp; rolling forward by 1.116667


回答1:


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




回答2:


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




回答3:


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

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.



来源:https://stackoverflow.com/questions/55371666/uiworkintervaltiming-workintervalstart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!