Results 1 to 2 of 2

Thread: [iOS] Automatic zooming to fit RealReach display

  1. #1
    Etablierter skobbler
    Join Date
    19.07.2015
    Posts
    23

    [iOS] Automatic zooming to fit RealReach display

    Hi there!

    Is there any way to do an automatic zooming to fit all the displayed SKRealReach area? I've seen that there's actually a method called
    Code:
    isRealReachDisplayedInBoundingBox:
    but It requires a
    Code:
    SKBoundingBox
    which has to be extracted from
    Code:
    visibleRegion
    property with the constructor
    Code:
    boundingBoxForRegion:inMapViewWithSize:
    and after all that operation, I only have a BOOL telling me that it actually is displayed or not, reduce zoom level and then do all the operation again. I think it's so elaborate that I must be doing it wrong.

    Regards!

  2. #2
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Check this question on StackOverflow: http://stackoverflow.com/questions/3...iew-in-an-area
    It's dealing with a similar use case. Let us know if you need further help
    Last edited by Adela_Silvia; 13.10.2015 at 10:26.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •