Maybe I missing something but I can't get it to work with 512x512 tiles. If I change the kDefaultTileSize in JCTiedView.m to 512 it loads the wrong tiles. I can trick it by changing how it calculates rows and columns and get correct tiles drawn in every zoom level but the resolution is not correct. Each 512 tile is loaded but the size is reduced to 256 somewhere when it's drawn on the actual screen. I can see when I zoom in it's only half the sharpness. Doubling the contentSize when creating the scrollView does not help either.
let scrollView = JCTiledScrollView(frame: self.view.frame, contentSize: imageSize)
My guess is somewhere in the native library the frames are defaulting to 256. I would really appreciate if someone could give me a hint here.
Maybe I missing something but I can't get it to work with 512x512 tiles. If I change the kDefaultTileSize in JCTiedView.m to 512 it loads the wrong tiles. I can trick it by changing how it calculates rows and columns and get correct tiles drawn in every zoom level but the resolution is not correct. Each 512 tile is loaded but the size is reduced to 256 somewhere when it's drawn on the actual screen. I can see when I zoom in it's only half the sharpness. Doubling the contentSize when creating the scrollView does not help either.
let scrollView = JCTiledScrollView(frame: self.view.frame, contentSize: imageSize)
My guess is somewhere in the native library the frames are defaulting to 256. I would really appreciate if someone could give me a hint here.