Post

Replies

Boosts

Views

Activity

Apple SignIn configuration change from Group to Primary ID
I have two applications, and I recently decided to add the Apple Sign In feature. Initially, I configured it for one of the apps as the Primary ID for this feature. Everything worked well, and I decided to add it to the second app. I made a mistake and used the First app as Primary ID using the "Group with an existing primary App ID" flag. Now, when I sign in using the second app, I don't see it in the list of apps in iPhone Settings for Apple Sign In; I only see the primary app. And with that, I no longer see a prompt for sharing/hiding email, and I am unable to revoke credentials correctly. I decided to change the Second app's Sign-in config and set it as the Primary ID for the feature. I was hoping to get two apps independent for the SignIn. However, it doesn't seem to make a difference. The second app behaves the same way, as long as the first app used SignIn, the second one always thinks that the user has already used that feature and never shows the correct prompt. Is there something I missed after changing the Configuration?
0
0
160
Jul ’25
Mac Catalyst RTF text paste from UIPasteBoard
When I'm trying to copy a text from the FMP (FileMakerPro) and paste it to any textfield of my app, I'm getting asian symbols instead of copied text.It happens both when I'm launching a MacOS app, or an iOS app in the simulator.Seems like the FMP uses some kind of RTF the app cannot recognize. I tried to check the text from the pasteboard in different methods of a custom textfield class like shouldChangeCharactersIn of UITextFieldDelegate, or in textPasteConfigurationSupporting of UITextPasteDelegate, but I'm always getting symbolsPasting the same text into a SearchBar or any Text Field of any other apps like Slack, Apple Music, Browser works well.Also, Copy/Paste works well in app too when I'm copying RTF from browser, pdf files with different languages and rich text, so I'm not sure how to track the issueI was able to fix it on the iPad and tested on a simulator:let pasteBoard = UIPasteboard.general let options: [NSAttributedString.DocumentReadingOptionKey : Any] = [ .documentType: NSAttributedString.DocumentType.rtf ] if let data = pasteBoard.data(forPasteboardType: "public.rtf"), let attString = try? NSAttributedString(data: data, options: options, documentAttributes: nil){ return attString }But this code doesn't work on Mac OS. The app just stucks at this line let data = pasteBoard.data(forPasteboardType: "public.rtf"),I was hoping to use NSPasteBoard to do the same trick, but NSPasteBoard is not allowed for Catalyst.Is there any way to fix it or I need to file a ticket for that bug?
1
0
1.3k
Feb ’22