Ruby Annotation in iOS

In iOS 8 Apple added in Core Text the Ruby Annotation, or the possibility to inject some character above the main text. This is very useful if you develop apps that shows Chinese or japanese text, writing that use this annotation.

Up to iOS 10.3, is was simple use this feature: it was necessary only create an attributedText that was using the ruby annotation and pass the attributed text to the label and, that's it! in Apple way, (or very simple) you can show some text with ruby annotation with all the features of auto layout of UILabel.
It was just missing the ability to put the text vertically and the UILabel was perfect.

From iOS 11.0 this feature doesn't work! Why? "An Apple engineer had not documented the feature", Suggestion:"Create a label yourself that displays the Ruby annotation" (Apple's answer from Apple Bug Report).

In internet there are some code to show ruby annotation but if the string is long the view or label doesn't become bigger an trunk the string. the scaling text, doesn't work. This is because you have to override the draw method and use Core Text to draw the text.

I am trying over and over again to create a label that allows you to view text with the ruby annotation, but I have major difficulties: Core Text is no longer updated and many of the documentation pages are empty and without documentation. what little code there is is in objective C. There are no alternatives for displaying ruby-annotated text horizontally or vertically. TextKit doesn't talk about displaying text like that. My application is a Japanese language dictionary, so the ruby annotation is very important !!!!

Is it possible that there isn't a definitive solution? is it possible that Apple can't add this feature because the engineer doesn't write the documentation to the feature that write?
Is possible that an Engineer doesn't write documentation about a feature and for this reason the feature is removed ?
Any Apple Engineer can help me to solve this problem?

Thank you
It should work in iOS 14. If not, please file a new feedback about it with your test project.
unfortunally doesn't work!

in date Oct 27, 2017 at 4:41 PM – with bug number: FB5367322 I've report this bug. and the last answer get from Apple was this:


Thank you for contacting us. It has not been determined how or when the issue will be resolved.
The original report on this issue, Bug ID 11268743, is still under investigation. We will notify you when it is closed.
Please note that you will not be able to directly view the original report in order to keep its information confidential.
We will do our best to keep you informed as new information becomes available. Please check release notes regularly for changes affecting this issue.
If you have further questions about this issue or wish to check on the status, please update your report again using the Apple Bug Reporter.


in date Apr 12, 2020 at 3:29 PM and in date Oct 19, 2020 at 7:07 PM I've asked if there are some update about this bug, but I didn't get any response.

I've a test project that shows the bug but, is it really useful to send the project to nothing?



I've filed a new feedback as said me the Framework Engineer of Apple:https://feedbackassistant.apple.com/feedback/8819563

but unforunally I haven't received a reply yet. are there some Apple Engineer can help me?
Ruby Annotation in iOS
 
 
Q