Explore best practices for creating inclusive apps that cater to users with diverse abilities

Learn More

Posts under General subtopic

Post

Replies

Boosts

Views

Activity

Users and Access(Enter an email address that has never been associated with an Apple ID.)
One client has invited me as an admin of the own Apple developer's account to manage the apps. One more client wants to add me as an admin of their Apple Developer's account but he can't do that he is getting the below message. Enter an email address that has never been associated with an Apple ID. Please give me a solution so that my client can add my email account as an admin to manage to Apps.
1
0
968
Oct ’21
Having trouble with Accessibility API of the ApplicationServices framework
After replacing Big Sur OSX 11.0 with the latest 11.5, my app's AXObserverAddNotification methods fails. Here is sample code I tested from StackOverflow: https://stackoverflow.com/questions/853833/how-can-my-app-detect-a-change-to-another-apps-window AXUIElementRef app = AXUIElementCreateApplication(82695); // the pid for front-running Xcode 12.5.1 CFTypeRef frontWindow = NULL; AXError err = AXUIElementCopyAttributeValue( app, kAXFocusedWindowAttribute, &frontWindow );     if ( err != kAXErrorSuccess ){         NSLog(@"failed with error: %i",err);     } NSLog(@"app: %@  frontWindow: %@",app,frontWindow); 'frontWindow' reference is never created and I get the error number -25204. It seems like the latest Big Sur 11.5 has revised the Accessibility API or perhaps there is some permission switch I am unaware of that would make things work. What am I doing wrong?
2
0
1.1k
Jun ’25
iOS Localization: What is exactly "Base" ?
Ok, so I understand the high-level reason Base Localization is used in an app, the problem it solves, and the ultimate goal it's trying to achieve. But I don't understand the real meaning of the concept of "Base". What is it exactly? I've got several questions Question 1: Is it called Base Localization? Base Internationalization? Just "Base"? Are all these synonyms? I will use the term "Base Localization" for the remainder of this question. Question 2: Yes/No Question: Is Base Localization really a localization? If the answer is YES: Question 2.1: Then why does this answer say that it's not? Is the answer right or wrong ? (That forum contains very good explanations, but I want to be strict with the meaning of "Base") Question 2.2: See the images below. Why does it get grouped with other 'real' languages (Spanish, French...)? In which country is the "Base" language spoken? (I know that's an ironical question, but it's to make my point clear). If the answer is NO: Question 2.3: If I create a new app from scratch in Xcode, why does Base get printed when I do the following? print(Bundle.main.localizations) // Base gets printed..so that implies it's a localization, just like Spanish or French Question 2.4. Basically, the opposite of question 2.2. If it's NOT a localization, then why does it get listed under the "Localization" section of the Info Tab of the project settings? Question 3: I've seen the term "Base language" used around in several docs. What's the difference between "Development Language" and "Base Language"? Are these synonyms? Could it be possible that they be different? Question 4. Is there a situation where Base localization shouldn't be used in an app? (That is, leave the option unchecked in the Info Tab of Project settings). The only situation I can think of is when you build programmatically your UI layouts. But even if you do that, there's no harm in leaving the option checked. Or is there? Question 4.1 If there isn't any harm, then why even give the option? Just set it to true always internally (and don't even expose the concept of "Base" to the end-developers). This isn't a specific question. There's no particular problem I'm trying to solve. I just want to understand what "Base" truly means and clear some fuzziness around that concept.
0
0
848
Sep ’21
Could it be possible that Bundle.main.preferredLocalizations returns more than one element?
According to the docs, the preferredLocalizations property of a Bundle returns: An array of NSString objects containing language IDs for localizations in the bundle. The strings are ordered according to the user's language preferences and available localizations. However, I have played around with different scenarios and setups, and I can't get the preferredLocalizations array to include more than one element. I have tried a combination of Adding multiple localizations to my app Adding multiple preferred languages to my phone (via Settings). But it always return a single-element array. This makes me ask the following questions: Is it really possible that preferredLocalizations could return more than one element? If so, can you give me a sample setup to make that happen?
0
0
751
Sep ’21
Accessibility elements are not visible in automation testing
I have a table view with a custom cell that I set accessibility elements for its components. All of the accessibility IDs are appearing correctly in the Xcode's Accessibility Inspector, as you see:  However, when it comes down to automation testing, none of the accessibility IDs are visible and don't appear in the XML. It's like this: What's the reason for causing this issue?
0
0
425
Oct ’21
How can I create a custom NSCursor that supports the new Monterey custom cursor colors?
macOS Monterey introduced support for user-defined cursor colors (e.g., I can change my mouse pointer to have a yellow outline and a magenta fill to make it easier to see). In a sample app, if I change the cursor to any of the built-in NSCursors everything works fine, but if I use my own cursor then none of the Accessibility colors get applied. I couldn't find any documentation on how to create an NSCursor that honors the new user-defined cursor colors. I've tried both PDF and PNG cursor files (but I assume we need to use a vector-based format for the recoloring to work) Would appreciate any guidance on how to get this to work, so our app can be more accessible and support the latest awesomeness in Monterey :)
0
0
850
Oct ’21
Nested elements accessibility for automated testing
Hi, My team is using Appium as a tool for automated testing. Using accessibilityIdentifiers was a simple way for app testing before accessibility issues. The problem is that you can't have the parent view and its children accessible. If a parent view is accessible, its children won't be seen by VoiceOver and conversely. And if an element looses accessibility, it can not be seen by Appium. So now we have bigger elements (like cell) that needs to be accessibility element to provide short descriptive information, meaning all nested buttons and etc. looses ability to be accessibility elements and cannot be found by QA. Maybe anyone has a good workaround?
1
0
1.5k
Mar ’23
Audio balance slider in shortcuts
When listening with headphones I move the balance slider (setting/accessibility/audio & visual/balance slider) 95% to the right due to right side hearing loss. I want to automate the process in shortcuts, Apple’s iOS automation feature. I can’t find an option to do this while building a shortcut. Any ideas?
0
0
674
Nov ’21
How to access activity for previous weeks with VoiceOver on in Apple Fitness?
My app has a similar UI to this one in Apple Fitness: I'm trying to figure out how to make my UI fully navigable with VoiceOver on, and the first thing I need to do is understand how users would expect it to operate. So I'm trying to first navigate the same control in Apple's Fitness app with VoiceOver turned on so I can match what they do, and so far I'm stumped. My best guess, based on my limited understanding of how to navigate iOS with VoiceOver, was to flick up and down (the way you do on the paging control on the Home Screen) but that doesn't do it. The other thing I tried was three-finger swiping left and right, but that also does nothing. Can anyone help me understand what the user expectation is for navigating this control with VoiceOver on?
0
0
610
Nov ’21
No basic localization applied
In the application, the basic localization is English, there are French and German. I put the French localization and put the application, then I close it. I change the language, let's say, to Norwegian and launch the application. Expect to see English, however the app is in French. How can this be?
1
0
485
Nov ’21
Develop spelling dictionary and grammar support in macOS for unsupported languages
I'm coming from Windows/Linux world, so don't be too harsh while answering :-) Is it possible to develop a spelling dictionary and grammar support for unsupported languages? Is there any documentation available? After some searching, I didn't find anything useful. Our wish is to develop language tools for macOS (speller, grammar, text-to-speech). What is the right procedure to start in the macOS world? Regards.
1
0
970
Nov ’21
Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS).
Hello, When is Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS) going to be supported and available? Not sure why iOS can support a Bluetooth feature that OSX cant. Doesn't make sense why a apple user can jump from iphone to ipad seemlessly with mFI streaming, but cant when using OSX.
0
0
530
Dec ’21
Country availability applies to updates?
If i remove a country from my app's availability list, will users in that country that already had my app installed receive updates and see the update available in the appstore?
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’22
Users and Access(Enter an email address that has never been associated with an Apple ID.)
One client has invited me as an admin of the own Apple developer's account to manage the apps. One more client wants to add me as an admin of their Apple Developer's account but he can't do that he is getting the below message. Enter an email address that has never been associated with an Apple ID. Please give me a solution so that my client can add my email account as an admin to manage to Apps.
Replies
1
Boosts
0
Views
968
Activity
Oct ’21
Having trouble with Accessibility API of the ApplicationServices framework
After replacing Big Sur OSX 11.0 with the latest 11.5, my app's AXObserverAddNotification methods fails. Here is sample code I tested from StackOverflow: https://stackoverflow.com/questions/853833/how-can-my-app-detect-a-change-to-another-apps-window AXUIElementRef app = AXUIElementCreateApplication(82695); // the pid for front-running Xcode 12.5.1 CFTypeRef frontWindow = NULL; AXError err = AXUIElementCopyAttributeValue( app, kAXFocusedWindowAttribute, &frontWindow );     if ( err != kAXErrorSuccess ){         NSLog(@"failed with error: %i",err);     } NSLog(@"app: %@  frontWindow: %@",app,frontWindow); 'frontWindow' reference is never created and I get the error number -25204. It seems like the latest Big Sur 11.5 has revised the Accessibility API or perhaps there is some permission switch I am unaware of that would make things work. What am I doing wrong?
Replies
2
Boosts
0
Views
1.1k
Activity
Jun ’25
Any issues with bluetooth connection
Any issues with bluetooth connection iOS 14
Replies
1
Boosts
0
Views
973
Activity
Jun ’22
ShazamKit wrong localization
We try to implement shazamkit music recognition in our app. All works amazing but, SHSession return track information in english translit, but when we open web url, it show right language. Region and language set as Ru on device.
Replies
1
Boosts
0
Views
874
Activity
Sep ’21
iOS Localization: What is exactly "Base" ?
Ok, so I understand the high-level reason Base Localization is used in an app, the problem it solves, and the ultimate goal it's trying to achieve. But I don't understand the real meaning of the concept of "Base". What is it exactly? I've got several questions Question 1: Is it called Base Localization? Base Internationalization? Just "Base"? Are all these synonyms? I will use the term "Base Localization" for the remainder of this question. Question 2: Yes/No Question: Is Base Localization really a localization? If the answer is YES: Question 2.1: Then why does this answer say that it's not? Is the answer right or wrong ? (That forum contains very good explanations, but I want to be strict with the meaning of "Base") Question 2.2: See the images below. Why does it get grouped with other 'real' languages (Spanish, French...)? In which country is the "Base" language spoken? (I know that's an ironical question, but it's to make my point clear). If the answer is NO: Question 2.3: If I create a new app from scratch in Xcode, why does Base get printed when I do the following? print(Bundle.main.localizations) // Base gets printed..so that implies it's a localization, just like Spanish or French Question 2.4. Basically, the opposite of question 2.2. If it's NOT a localization, then why does it get listed under the "Localization" section of the Info Tab of the project settings? Question 3: I've seen the term "Base language" used around in several docs. What's the difference between "Development Language" and "Base Language"? Are these synonyms? Could it be possible that they be different? Question 4. Is there a situation where Base localization shouldn't be used in an app? (That is, leave the option unchecked in the Info Tab of Project settings). The only situation I can think of is when you build programmatically your UI layouts. But even if you do that, there's no harm in leaving the option checked. Or is there? Question 4.1 If there isn't any harm, then why even give the option? Just set it to true always internally (and don't even expose the concept of "Base" to the end-developers). This isn't a specific question. There's no particular problem I'm trying to solve. I just want to understand what "Base" truly means and clear some fuzziness around that concept.
Replies
0
Boosts
0
Views
848
Activity
Sep ’21
How to Use JSON files to language translation in Swift?
Hi everyone. I want to download some JSON files to localize my app. What format should this JSON file be in and how can I use these files after downloading them?
Replies
0
Boosts
0
Views
796
Activity
Sep ’21
Could it be possible that Bundle.main.preferredLocalizations returns more than one element?
According to the docs, the preferredLocalizations property of a Bundle returns: An array of NSString objects containing language IDs for localizations in the bundle. The strings are ordered according to the user's language preferences and available localizations. However, I have played around with different scenarios and setups, and I can't get the preferredLocalizations array to include more than one element. I have tried a combination of Adding multiple localizations to my app Adding multiple preferred languages to my phone (via Settings). But it always return a single-element array. This makes me ask the following questions: Is it really possible that preferredLocalizations could return more than one element? If so, can you give me a sample setup to make that happen?
Replies
0
Boosts
0
Views
751
Activity
Sep ’21
Is it possible to turn Single App Mode off/on programtically?
I'm trying to build an app that will go into single app mode when I open the app. The app will have a submit button. Until this submit button is clicked, they will still be in single app mode. After clicking the submit button, the single app mode will be closed. Is this possible to do?
Replies
3
Boosts
0
Views
705
Activity
Oct ’21
Apple Watch 3 42mm Accessibility issue
Hello Team, I have recently bought Apple Watch series 3 42mm , after updated IOS 8 , the option of accessibility in watch is not working , tried resetting twice . Please resolve the issue Thanks , Syed Ayaz Hashmi
Replies
1
Boosts
0
Views
422
Activity
Oct ’21
Accessibility elements are not visible in automation testing
I have a table view with a custom cell that I set accessibility elements for its components. All of the accessibility IDs are appearing correctly in the Xcode's Accessibility Inspector, as you see:  However, when it comes down to automation testing, none of the accessibility IDs are visible and don't appear in the XML. It's like this: What's the reason for causing this issue?
Replies
0
Boosts
0
Views
425
Activity
Oct ’21
How can I create a custom NSCursor that supports the new Monterey custom cursor colors?
macOS Monterey introduced support for user-defined cursor colors (e.g., I can change my mouse pointer to have a yellow outline and a magenta fill to make it easier to see). In a sample app, if I change the cursor to any of the built-in NSCursors everything works fine, but if I use my own cursor then none of the Accessibility colors get applied. I couldn't find any documentation on how to create an NSCursor that honors the new user-defined cursor colors. I've tried both PDF and PNG cursor files (but I assume we need to use a vector-based format for the recoloring to work) Would appreciate any guidance on how to get this to work, so our app can be more accessible and support the latest awesomeness in Monterey :)
Replies
0
Boosts
0
Views
850
Activity
Oct ’21
Nested elements accessibility for automated testing
Hi, My team is using Appium as a tool for automated testing. Using accessibilityIdentifiers was a simple way for app testing before accessibility issues. The problem is that you can't have the parent view and its children accessible. If a parent view is accessible, its children won't be seen by VoiceOver and conversely. And if an element looses accessibility, it can not be seen by Appium. So now we have bigger elements (like cell) that needs to be accessibility element to provide short descriptive information, meaning all nested buttons and etc. looses ability to be accessibility elements and cannot be found by QA. Maybe anyone has a good workaround?
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’23
Some collection view items not detectable by accessibility inspector.
I have setup where I have collection view inside table view cell. When I scroll through the collection view items, some items are detectable by accessibility inspector, some are not. What is the issue and how can I resolve it?
Replies
0
Boosts
0
Views
648
Activity
Nov ’21
Audio balance slider in shortcuts
When listening with headphones I move the balance slider (setting/accessibility/audio & visual/balance slider) 95% to the right due to right side hearing loss. I want to automate the process in shortcuts, Apple’s iOS automation feature. I can’t find an option to do this while building a shortcut. Any ideas?
Replies
0
Boosts
0
Views
674
Activity
Nov ’21
How to access activity for previous weeks with VoiceOver on in Apple Fitness?
My app has a similar UI to this one in Apple Fitness: I'm trying to figure out how to make my UI fully navigable with VoiceOver on, and the first thing I need to do is understand how users would expect it to operate. So I'm trying to first navigate the same control in Apple's Fitness app with VoiceOver turned on so I can match what they do, and so far I'm stumped. My best guess, based on my limited understanding of how to navigate iOS with VoiceOver, was to flick up and down (the way you do on the paging control on the Home Screen) but that doesn't do it. The other thing I tried was three-finger swiping left and right, but that also does nothing. Can anyone help me understand what the user expectation is for navigating this control with VoiceOver on?
Replies
0
Boosts
0
Views
610
Activity
Nov ’21
No basic localization applied
In the application, the basic localization is English, there are French and German. I put the French localization and put the application, then I close it. I change the language, let's say, to Norwegian and launch the application. Expect to see English, however the app is in French. How can this be?
Replies
1
Boosts
0
Views
485
Activity
Nov ’21
Develop spelling dictionary and grammar support in macOS for unsupported languages
I'm coming from Windows/Linux world, so don't be too harsh while answering :-) Is it possible to develop a spelling dictionary and grammar support for unsupported languages? Is there any documentation available? After some searching, I didn't find anything useful. Our wish is to develop language tools for macOS (speller, grammar, text-to-speech). What is the right procedure to start in the macOS world? Regards.
Replies
1
Boosts
0
Views
970
Activity
Nov ’21
Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS).
Hello, When is Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS) going to be supported and available? Not sure why iOS can support a Bluetooth feature that OSX cant. Doesn't make sense why a apple user can jump from iphone to ipad seemlessly with mFI streaming, but cant when using OSX.
Replies
0
Boosts
0
Views
530
Activity
Dec ’21
How apple will check application accessibility support?
Hi Team, Anyone help me, How apple review team will check for accessibility support of the application? Thank you.
Replies
1
Boosts
0
Views
704
Activity
Jan ’22