Apple recommends using playInputClick in custom keyboards to simulate a click sound. It's easier to implement AudioServicesPlaySystemSound(1104); so my question then becomes, does playInputClick provide better performance or is it the same thing?
iOS: Is there a performance difference between using playInputClick vs the (1104) sound file with audio toolbox?
523 Views Asked by KingPolygon At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in IOS8
- UIPopoverPresentationController not rendering properly
- UICollectionView cell height/scrollable content behaving strange/incorrect
- My application has the camera access permission by default.How can i turned it off and ask for permission?
- iOS coordinates for iPad and iPhone game using spritekit
- App crashes when I deselect an item in a UICollectionView
- Swift - Issue trying to access to Singleton object
- how to hide the section title when clicked search bar using ios 8 UISearchController?
- poptorootviewcontroller and instruct rootviewcontroller to perform some action
- Animation issue on iOS 7 but not on iOS 8
- Javascript function not getting called from HTML file
- Table View Cell After Upgrading Project from XCODE 5.x to 6.x
- Third party app iOS Storage usage statistics
- UI Local Notification - Background Reschedule
- Reposition legal label ( MKAttributionLabel )
- How can I animate an SKShapeNode in swift?
Related Questions in AVFOUNDATION
- AVFoundation - Process each image separately
- How to listen to changes in Camera authorization status?
- Creating a square video with custom background color and aspect-fitted video on top with AVFoundation
- Unable to display thumbnail in another view controller
- AVFoundation: toggle camera fails at CanAddInput
- iOS Apply CATransform3D on every frame
- Play sound from AppDelegate
- AVAssetResourceLoader backed AVURLAsset playback fails only via AirPlay
- Why is this mp3 file not streaming
- iOS set video frame rate
- Swift - AVFoundation on OS X adding sublayer issue
- AVSpeechUtterance completion handler
- How to implement trimming of video which is playing on AVPlayer?
- AVCaptureOutput didOutputSampleBuffer stops getting called
- AVCaptureSession w/o Decompression
Related Questions in AUDIOTOOLBOX
- AudioToolBox Recorder gets affect by AVFoundation AudioPlayer
- Cannot set input volume of MultiChanelMixer AudioUnit bus
- AudioConverterFillComplexBuffer returns 1852797029 (kAudioCodecIllegalOperationError)
- iOS: Is there a performance difference between using playInputClick vs the (1104) sound file with audio toolbox?
- memory leak in AudioToolbox library AVAudioPlayer
- Specify software-based codec for AVAssetReaderAudioMixOutput?
- i am studying "Audio File Stream Services Reference" in iOS
- Airplay options are hidden after initialise AudioUnit on iOS
- Audio Queue cannot start again after AudioQueueStop
- is it possible to have level metering in AVQueuePlayer on iOS?
- Objective C MIDI Issue
- How to sync accurately enough two music sequences (Audiokit.AKAppleSequencer)?
- Finding Codec in audio file using Apple APIs
- AudioServicesAddSystemSoundCompletion under ARC using __bridge
- Monotouch can't find AudioFileOpenURL
Related Questions in UIINPUTVIEWCONTROLLER
- Display fullscreen view controller from UIInputViewController
- viewWillTransition is giving the wrong size
- iOS: Is there a performance difference between using playInputClick vs the (1104) sound file with audio toolbox?
- Create custom input for UITextField in Swift
- Can I use PFquery in UIInputviewcontroller, which is class for the keyboard extension
- Can't use UICollectionView in UIInputViewController for keyboard extension
- How can i set custom inputviewcontroller / inputView for WKWebView?
- Resize custom UIInputViewController in iOS 9 using nib
- How to test if User has changed UITextInput?
- Drawing outside UIInputViewController frame
- Remove Next / Previous buttons (inputAccessoryView) for Custom Keyboard in iOS8 WebView
- How to programmatically disable predictive view in WebView of iOS 8
- UIAlertView crash on UIInputViewController
- Text field stays under the custom keyboard in UIWebView for iOS 8
- custom keyboard UITextField inputView xcode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Reason Apple recommended this is probably not performance.
AudioServicesPlaySystemSound(1104)will probably always play the same sound butplayInputClickmay play another sound in the future if Apple decides to change the input click sound.So they are the same right now but it might change and if it does your app will be the only one playing the old sound if you stick to use
AudioServicesPlaySystemSound(1104).