NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

QR code and Playing Cards

Forums > SwiftUI

Code Scanner code - On Ipad there is no vibrate function. How can I add a beep or sound? Vibrate works perfect on Iphone

Can I adjust the scan window to show the tabItem at the bottom of the screen. Or put the tabItem at the top of the screen? I added a TabView(badge) to make sure all cards are scanned. I can slide view down to see value but it resets scanner when its closed


For the beep / sound you could add import AVFoundation, and use AudioServicesPlaySystemSound.


Thanks for the reply. Ill add that


Hacking with Swift is sponsored by Waldo

SPONSORED Thorough mobile testing hasn’t been efficient testing. With Waldo Sessions, it can be! Test early, test often, test directly in your browser and share the replay with your team.

Try for free today!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.