2 Replies
      Latest reply: Sep 1, 2016 3:57 AM by eskimo RSS
      beakpeek Level 1 Level 1 (0 points)

        Hi there.

         

        There currently isnt a public API for providing the haptic feedback for force touch. Would an app be rejected or frowned upon for using AudioServices such as:

        AudioServicesPlaySystemSound(1519) and AudioServicesPlaySystemSound(1520) as feedback for force touch?

         

        Thanks.

        • Re: Haptic feedback for force touch?
          ahltorp Level 3 Level 3 (410 points)

          This is not a Swift question. Please ask this in the Media/AVFoundation (Audio) forum.

          • Re: Haptic feedback for force touch?
            eskimo Apple Staff Apple Staff (7,550 points)

            Would an app be rejected or frowned upon …

            This is most definitely not supported.  For a fixed SystemSoundID value to be considered API, it must have a symbolic constant in the headers.  Passing in other fixed values is not OK.

            Also, see this thread.

            Share and Enjoy

            Quinn “The Eskimo!”
            Apple Developer Relations, Developer Technical Support, Core OS/Hardware
            let myEmail = "eskimo" + "1" + "@apple.com"