Skip to content

Commit

Permalink
Merge pull request #85 from UbiqueInnovation/high-priority-voice-over…
Browse files Browse the repository at this point in the history
…-announcement

Make postHighPriorityAnnoundement public
  • Loading branch information
Calculable authored May 7, 2024
2 parents 18b8b04 + 46bfdb4 commit 1903dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/UBFoundation/Helpers/UIAccessibility+Helper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit
extension UIAccessibility {
/// Reads an announcement to VoiceOver users that cannot be interrupted by other announcements on devices running iOS 17 or never.
/// - Parameter message: the message to read
static func ub_postHighPriorityAnnouncement(_ message: String) {
public static func ub_postHighPriorityAnnouncement(_ message: String) {
if #available(iOS 17, *) {
let announcement = NSAttributedString(
string: message,
Expand Down

0 comments on commit 1903dd2

Please sign in to comment.