Post

Replies

Boosts

Views

Activity

Very bad journal suggestion api!!!
Why not give devs pvt file bundle, with only image and video, it's not live photo!!! I can't use the quick look framework to preview it, and I also can't share to another app as live photo example: save it back to photos or share it by iMessage 🙄 . I can't understand this design, why not any detail? Another thing is so bad, the music data type has no store ID for musickit play item, so the Apple Journal app can play the music, but other apps can't do it! The live photo is the same. What are you doing Apple?
1
0
613
Mar ’24
INIntent Issue
INIntent Issue In my main app, after I send a message(key code): let inImage = INImage(imageData: imageData) let person = INPerson( personHandle: INPersonHandle( value: personId, type: .emailAddress), nameComponents: nil, displayName: personName, image: inImage, contactIdentifier: nil, customIdentifier: String(chatid) ) let smi = INSendMessageIntent( recipients: persons, outgoingMessageType: .outgoingMessageText, content: nil, speakableGroupName: groupName, conversationIdentifier: "\(chatid)", serviceName: nil, sender: nil, attachments: nil ) smi.setImage(inImage, forParameterNamed: \.speakableGroupName) let interaction = INInteraction(intent: smi, response: nil) interaction.groupIdentifier = String(chatid) interaction.donate { error in } I get INImage instance in share extension by: if let intent = extensionContext?.intent as? INSendMessageIntent, let avatar = intent.keyImage() { // ... } When I call INImage.fetchUIImage method: func loadImageBy(_ inImage: INImage) { imgView.image = nil loadImageIdentifier = UUID() inImage.fetchUIImage { [weak self, loadImageIdentifier] image in guard self?.loadImageIdentifier == loadImageIdentifier else { return } self?.imgView.image = image } } I got this error: Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[INRemoteImageProxy fetchUIImageWithCompletion:]: unrecognized selector sent to instance 0x2810969e0’
0
0
1.3k
Jun ’22
Why Siri Suggestion that show in Photo share sheet limit show 20 count persons for group?
I develop my an IM app for support Siri suggestion feature. I donate a INSendMessageIntent when user send message in group. I create INPerson array by users in that group. But the photo share sheet only show max 20 persons, the trust is I set persons parameters count is 56. Who can explain why limit show max group users count, or my anything wrong? I circle the key point in picture by red pencil. The second and the fourth chat that users in group count more than 20.
0
0
1.2k
Feb ’22
The new UIButton.Configuration Api no subtle color transition
When I create a UIButton by new iOS15 api: UIButton(configuration: .plain(), primaryAction: nil) I lose the title fade transition that is provided by UIButton which created by old api: UIButton(type: .system) This is a feature or bug? I think it is bad that system control lost the subtle animation. I hope Apple can fix it in the future version. May I used it wrong? If I'm wrong, please help me fix it, thanks🙏
2
0
1.8k
Oct ’21
iOS 14 Large title collapse when app run firstly
When I set : tableView.contentInset = UIEdgeInsets(top: 20, left: 0, bottom: 60, right: 0) The large title not show(small title instead of) when app first run, and it's right when I change contentInset's top to zero. I setup large title by this code: navigationController?.navigationBar.prefersLargeTitles = true I run it on iOS 13 is good, only break on iOS 14.
4
0
4.6k
Sep ’20