Since on IOS scrolling does not work I tried to use component with pageNumber prop. But it caused memory issue(memory leak i guess). these are my logs
.
.
2016-08-29 10:08:43.277 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681
2016-08-29 10:08:43.286 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681
2016-08-29 10:08:43.304 project1[979:228076] -[TiledPDFView drawLayer:inContext:] myScale:0.962681
Message from debugger: Terminated due to memory issue
It logs [TiledPDFView drawLayer:inContext:] myScale:0.????? this line more than 10times every time after setState({pageNumber})
Since on IOS scrolling does not work I tried to use component with pageNumber prop. But it caused memory issue(memory leak i guess). these are my logs . . 2016-08-29 10:08:43.277 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 2016-08-29 10:08:43.286 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 2016-08-29 10:08:43.304 project1[979:228076] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 Message from debugger: Terminated due to memory issue
It logs [TiledPDFView drawLayer:inContext:] myScale:0.????? this line more than 10times every time after setState({pageNumber})
thanks.