Post

Replies

Boosts

Views

Activity

Reply to How to show in the subtitle of the Communication Notification?
look Of the previous question https://developer.apple.com/forums/thread/691953 // recipients count > 1 let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil) // ParameterNamed is speakableGroupName incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName) code-block
Oct ’21
Reply to How to show group name in the subtitle of the Communication Notification?
change your code to: // recipients count > 1 let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil) // ParameterNamed is speakableGroupName incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName) code-block
Oct ’21
Reply to Not Seeing iOS 15 Notification Avatars
you can try INPerson *person2 = [[INPerson alloc] initWithPersonHandle:personHandle2                           nameComponents:nameComponents2                             displayName:@"displayName2"                                image:image                          contactIdentifier:@"contactIdentifier2"                          customIdentifier:@"customIdentifier2"                                isMe:YES                           suggestionType:INPersonSuggestionTypeNone];                 INPerson *person = [[INPerson alloc]initWithPersonHandle:personHandle                             nameComponents:nameComponents                               displayName:@"displayName1"                                  image:image                            contactIdentifier:@"contactIdentifier1"                            customIdentifier:@"customIdentifier1"                                  isMe:NO                             suggestionType:INPersonSuggestionTypeNone];           INSpeakableString *speakableGroupName = [[INSpeakableString alloc] initWithSpokenPhrase:@"speakableGroupName"];           INSendMessageIntent *sendMessageIntent = [[INSendMessageIntent alloc]               initWithRecipients:@[person2]               outgoingMessageType:INOutgoingMessageTypeOutgoingMessageText               content:nil               speakableGroupName:speakableGroupName               conversationIdentifier:@"threadId"               serviceName:@"serviceName"               sender:person               attachments:nil];
Topic: Machine Learning & AI SubTopic: General Tags:
Oct ’21
Reply to APNS Content Available Push not working in iOS 15
https://blog.branch.io/apple-killed-uninstall-tracking-on-ios-15/
Replies
Boosts
Views
Activity
Nov ’21
Reply to iOS 15 how to get the information of current focus mode?
No APIs to do that!
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to How do I enable "Direct Messages" to be sent immediately, instead of to Scheduled Summary?
enable the Communication Notification
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to show in the subtitle of the Communication Notification?
look Of the previous question https://developer.apple.com/forums/thread/691953 // recipients count > 1 let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil) // ParameterNamed is speakableGroupName incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName) code-block
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to show group name in the subtitle of the Communication Notification?
change your code to: // recipients count > 1 let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil) // ParameterNamed is speakableGroupName incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName) code-block
Replies
Boosts
Views
Activity
Oct ’21
Reply to Not Seeing iOS 15 Notification Avatars
you can try INPerson *person2 = [[INPerson alloc] initWithPersonHandle:personHandle2                           nameComponents:nameComponents2                             displayName:@"displayName2"                                image:image                          contactIdentifier:@"contactIdentifier2"                          customIdentifier:@"customIdentifier2"                                isMe:YES                           suggestionType:INPersonSuggestionTypeNone];                 INPerson *person = [[INPerson alloc]initWithPersonHandle:personHandle                             nameComponents:nameComponents                               displayName:@"displayName1"                                  image:image                            contactIdentifier:@"contactIdentifier1"                            customIdentifier:@"customIdentifier1"                                  isMe:NO                             suggestionType:INPersonSuggestionTypeNone];           INSpeakableString *speakableGroupName = [[INSpeakableString alloc] initWithSpokenPhrase:@"speakableGroupName"];           INSendMessageIntent *sendMessageIntent = [[INSendMessageIntent alloc]               initWithRecipients:@[person2]               outgoingMessageType:INOutgoingMessageTypeOutgoingMessageText               content:nil               speakableGroupName:speakableGroupName               conversationIdentifier:@"threadId"               serviceName:@"serviceName"               sender:person               attachments:nil];
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21