Posts

Post not yet marked as solved
1 Replies
144 Views
UITextview's Spellchecker seem not to detect spells and show red dots at odd position in MacCatalyst: It does work well in iPhone and iPad though. I've activated the Spellcheck through storyboard, also tested with both Normal and Attributed strings. Even tried disabling the scrolling. But nothing seems to help! Does any one know about this behaviour?
Posted Last updated
.
Post not yet marked as solved
0 Replies
100 Views
When I hover the mouse over the NSTextAttachment image inside the UITextview, it should show this option to MarkUp. All native app including Notes, TextEditor, Mail have this behaviour: I think, by default, NSTextView will show the NSSharingServicePicker button when you hover over an image inside the text view. That’s true even for custom image-based NSTextAttachments in the attributed string. But it is not showing the button for UITextview in MacCatalyst. Also NSSharingService class is limited to MacOS only. Are there any alternative way to achieve this in MacCatalyst?
Posted Last updated
.
Post marked as solved
1 Replies
158 Views
Hi, I've assigned contextual menu to my tableview rows which seems to focus cells background with blue ring in MacCatayst. If tableview style is Plain or Grouped, it focus ring appear as it should but in InsetGrouped type tableview, it seems to be broken. I've tried disabling the focus with : func tableView(_ tableView: UITableView, canFocusRowAt indexPath: IndexPath) -> Bool { return false } And tableView.selectionFollowsFocus = false But no luck disabling it. Anyone has any Idea about this behaviour ?
Posted Last updated
.
Post not yet marked as solved
4 Replies
328 Views
I'm trying with the MacCatalyst app which has editor screen with UITextView. Whenever I select some text [Attributed] & try to copy/paste ( using ctrl + c ) to another Mac app ( i.e Notes, Safari) it works well but if I try to paste it to Mail App's Composer, it doesn't work! When selecting some text and copying, it prints this log in debug window: Incorrect NSStringEncoding value 0x8000100 detected. Assuming NSASCIIStringEncoding. Will stop this compatibility mapping behavior in the near future. When converting Attributed string to Data, I'm applying the Encoding options as below: [NSAttributedString.DocumentAttributeKey: Any] = [ .documentType: NSAttributedString.DocumentType.rtfd, .characterEncoding: String.Encoding.utf8 ] Still it doesn't seem to work. Anyone has any idea about this ?
Posted Last updated
.
Post not yet marked as solved
0 Replies
116 Views
Hi, I've made a simple list using UITableview for Mac Catalyst and have set the separator style to default. ( I'm not using Diffable datasource ) The problem is it is showing separators in iPhone and iPad, but not showing in Mac. Does any one has any idea about this behaviour? Is there any way to show for the Mac or do I have to make custom cells with separators ?
Posted Last updated
.
Post not yet marked as solved
1 Replies
200 Views
I'm trying to build a simple Mail Extension using Compose session handler for the Mac Catalyst App. The idea is to open a ComposeViewController on App Icon click from Mail Toolbar ( when the user adds the app extensions for the app from Mail Preference ). I'm using core data in a shared group and I want to show the list of the email address that the user has added from the app to the ComposeViewController. But on the extension window in the Mail, it shows : Permissions for “MyDemoApp”: • Email Contents Can read sensitive information from emails including the message subject and recipients. This applies to all outgoing messages. Since my Compose-Mail-Extension does not read subject/recipients in the Compose window, My app should not ask this permission from users. Is there any way to omit permissions which my app is not using?
Posted Last updated
.