UIWorkIntervalTiming workIntervalStart

11.6k Views Asked by At

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

3

There are 3 best solutions below

5
On

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
On

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
On

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