Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Xcode 9: setAccessibilityIgnoresInvertColors: is only available on iOS 11.0 or newer #10010

Closed

Description

@friedbunny

Platform: Xcode 9
Mapbox SDK version: v3.6.3

The approach we took to the inverted color opt-out from #9876 is throwing warnings in Xcode 9:

MGLMapView.mm:482:97: 'setAccessibilityIgnoresInvertColors:' is only available on iOS 11.0 or newer

Instead, it wants us to use the @available() check (which we can’t, to stay compatible with Xcode 8).

screen shot 2017-09-15 at 6 47 53 pm

/cc @jmkiley

Activity

  1. added
    iOS
    on Sep 15, 2017
  2. self-assigned this
    on Sep 16, 2017
  3. boundsj commented on Sep 18, 2017

    @boundsj
    Contributor

    Fwiw, in #9995 we suppressed the warning instead of using the new @available() check.

  4. jmkiley commented on Nov 9, 2017

    @jmkiley
    Contributor

    Addressed in #10425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildiOS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions