Messages

RSS for tag

Create app extensions that lets users send text, stickers, media files, and interactive messages using Messages.

Messages Documentation

Posts under Messages tag

79 Posts
Sort by:
Post not yet marked as solved
0 Replies
35 Views
Hello iMessage Accounts do not appear in macOS Dark mode. This way for a long time... I request that iMessage Mail addresses be facilitated editing, Adding, and deleting. Note: I remind you that iMessage is mandatory to add an Advanced Data Protection "Account Recovery contact" for iCloud. Some users are not using iMessage up to date Mail I am sure more users will use it if it becomes easier to add, edit and delete an account. Thank you for the beauties you offer.
Posted Last updated
.
Post not yet marked as solved
0 Replies
92 Views
Dear developers: Thank you, thank you for adding the capability to unread text messages & show them as new! A truly helpful addition would be “Scheduled Send”. Example: You couldn’t sleep & you’re up at 3 AM and need to text somebody but it’s way too early to do that. And unfortunately, you’re worried you might forget later in the day to send some important information. So, it would be great if there was a feature to create a text and schedule it to send later at 8 or 9 AM. Any chance you could bring this to fruition? Best, CJ
Posted
by CJ_d.
Last updated
.
Post not yet marked as solved
0 Replies
111 Views
Merhaba iMessage Accounts do not appear in macOS Dark mode. This way for a long time... I request that iMessage Mail addresses be facilitated editing, Adding, and deleting. Note: I remind you that iMessage is mandatory to add an Advanced Data Protection "Account Recovery contact" for iCloud. Some users are not using iMessage up to date Mail I am sure more users will use it if it becomes easier to add, edit and delete an account. Thank you for the beauties you offer.
Posted Last updated
.
Post not yet marked as solved
0 Replies
100 Views
I can’t pin any of my contacts because I have to search for them and now I can’t search for them if I try to pin them. I unpinned my contacts. Now I’m out of luck. Has anyone else gotten this issue?
Posted
by ersm.
Last updated
.
Post not yet marked as solved
0 Replies
133 Views
Hi everyone, I've seen some posts about this issue but no real fixes. I"m on macOS 13.1 and I would like to use Automator to send my clients iMessage or SMS texts that include images. I am able to send actual "text" just fine but when I try to send a file, Messages time-out and says it can't be delivered. set image to POSIX file "</path/to/file>" tell application "Messages" activate set iMessageService to 1st account whose service type = iMessage set client to participant "5551234" of iMessageService send image to client end tell Again, I see the file trying to be sent via the Messages app but it goes undelivered. Does not work any better if I do it over SMS. Does anyone else have something like this working in 13.1
Posted
by JSACCC75.
Last updated
.
Post not yet marked as solved
0 Replies
197 Views
When i run iMessage Extension from XCode, it works well. but, when i open our app in TestFlight or App Store, It sometimes shows nothing. what is the problem?
Posted
by kikman.
Last updated
.
Post not yet marked as solved
1 Replies
289 Views
Hello,I have been attempting to archive a project that embeds an iMessage app extension. When I do so I am getting a build error with the mesage "Undefined symbols for architecture arm64:". The error then references a bunch of classes from a framework I have made to share code. I am completely befuddled by this. When building and running debug on an iPad pro, which uses arm64, the app target will build, while the extension will not. On other devices such as my iphone both the app and extension build and run. I believe the framework is building for arm64. Standard Arhcitectures arm7 arm64 is selected, as well as valid architectures arm64, arm7, arm7s. Does anyone have any clue of what is going on. Any help would be greatly appreciated!Thank you,Dylan
Posted Last updated
.
Post not yet marked as solved
1 Replies
566 Views
Does anybody knows how to show or enable message button in CallKit screen when user receives incoming call? I tried to search multiple sources but I couldn't find any information about this topic. It never appears in my CallKit app. I can only see Remind Me button.
Posted
by lockSee.
Last updated
.
Post not yet marked as solved
23 Replies
49k Views
Hi Team,We are facing an issue with iMessage app on iOS versions greater than 10.2.Sometimes, URL links in received messages are not clickable. Since it's hampering our business, we request you to look into the reported issue and suggest us with a possible solution or workaround.Scenario: In the first message, URL was not detected as hyperlink while receiving the same message second time from same sender did make the URL underlined and clickable.Thank you!
Posted
by dude.team.
Last updated
.
Post marked as solved
7 Replies
1.2k Views
In the summer, Apple published an informative sample app on sharing objects between iCloud users using Core Data, CloudKit and UICloudSharingController in SwiftUI: https://developer.apple.com/documentation/coredata/sharing_core_data_objects_between_icloud_users However, Apple also announced the new Collaboration features for Messages in iOS16. Now, it seems Collaboration is incompatible with UICloudSharingController and the sharing sheet it invokes, on iOS16. MRE: See the Apple sample app linked above. Reproduction: Create new share, Manage share with UICloudSharingController, Share With More People, Share using Messages (may succeed first time but fails on subsequent attempts on iOS16. Works great on iOS15). Expectation: We can use UICloudSharingController to add new participants, using Messages, Mail or other platforms. The link will display correctly on all devices. Reality: On iOS16+, attempting to share via Messages engages the "Collaboration" framework and leads to an alert: "An Error Occurred. Unable to start collaboration" (see Image 1). Triggering this error breaks ANY further shares - the link now cannot be created for Mail and other platforms either (see Image 2). Furthermore, if the first attempt succeeds, the link does not appear correctly on the receiving device (see Image 3). The link appears correctly when sent from a device running iOS15. Question: How can this be resolved, so that we can share CloudKit records between users using Messages in iOS16+? Images: https://imgur.com/a/o1fdABT
Posted
by Cardu6lis.
Last updated
.
Post not yet marked as solved
0 Replies
437 Views
When playing music or a podcast in the Spotify application (as well as using car play), an audio notification may occur from the Waze application, after the notification, playback in the Spotify application usually continues automatically. Well, the new update does not work properly to automatically resume listening, you need to press play again in the Spotify app. Please fix it, it's very annoying.
Posted
by MisanDayw.
Last updated
.
Post not yet marked as solved
2 Replies
459 Views
When I go to voice to text I get a microphone with an x…
Posted
by SamO812.
Last updated
.
Post not yet marked as solved
0 Replies
277 Views
Hi, So I am currently trying to create an app and for one of its functions I want to text the user from let's say my number or call the user from my number after they enter their number in the textfields. So, the idea is to send a text message or make a call to the user from the app after they press a button. How can I achieve that? P.S: I do not want to use any third-party app but if there are any libraries that can do this then please let me know. I used MFMailComposer that pops up the imessage app and then asks the users to send the text. I don't want that. Instead, I want to send a text to the user. For a clearer explanation you can imagine this as sending an OTP to the user after they provide their phone number. I will be sending them a reminder sort of text not an OTP in this case.
Posted
by rifah.
Last updated
.
Post not yet marked as solved
1 Replies
320 Views
i am trying to connect my messages from my ipad to my iphone. i tap the on thing and the continue for encrypted messages. the thing is when i put in my iphone passcode it was correct but not my ipad passcode. they had the same passcode, so i changed the iphone and now the ipad passcode, the one i didn’t change, doesn’t work. ik it’s correct. what should i do? what’s going on?? i restarted my phone too.
Posted
by dumbash.
Last updated
.
Post not yet marked as solved
0 Replies
366 Views
Getting a crash when hitting the last line in my app message extension code below. As soon as it tries to insert the message. let messageCaption = NSLocalizedString("Test", comment: "Test Comment")                               let layout = MSMessageTemplateLayout()               layout.image = .add               layout.caption = messageCaption                               let message = MSMessage(session: viewModel.session)               message.summaryText = product.name               message.layout = layout                               viewModel.conversation.insert(message) Once the app crashes, I am presented with this error message. I am on Xcode 14 and this is on an iphone 14 sim - iOS 16 Once I hit report, I get the full logs here ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: F62BD596-CD46-40CB-B798-07EC0AA3158D CrashReporter Key: D89DFC1D-3461-4988-CEA6-FE9F2C7FAEE7 Hardware Model: MacBookPro16,1 Process: MobileSMS [21403] Path: /Applications/Xcode 14.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSMS.app/MobileSMS Identifier: com.apple.MobileSMS Version: 14.0 (6000) Code Type: X86-64 (Native) Role: Foreground Parent Process: launchd_sim [3466] Coalition: com.apple.CoreSimulator.SimDevice.D4E73F6D-BBC3-4DD9-A3DF-9841739EF83C [1013] Responsible Process: SimulatorTrampoline [2001] Date/Time: 2022-11-08 14:26:13.9868 -0500 Launch Time: 2022-11-08 14:24:24.9288 -0500 OS Version: macOS 12.6.1 (21G217) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x7ff800427368 __exceptionPreprocess + 226 1 libobjc.A.dylib 0x7ff80004dbaf objc_exception_throw + 48 2 CoreFoundation 0x7ff800436588 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3 CoreFoundation 0x7ff80042b83d ___forwarding___ + 1431 4 CoreFoundation 0x7ff80042db38 _CF_forwarding_prep_0 + 120 5 IMCore 0x7ff810903f11 0x7ff810893000 + 462609 6 ChatKit 0x1038958c0 __46-[CKChatInputController _startEditingPayload:]_block_invoke + 591 7 ChatKit 0x1039ee5ae __69+[CKComposition compositionWithShelfPluginPayload:completionHandler:]_block_invoke + 115 8 libdispatch.dylib 0x7ff80013b7fb _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x7ff80013ca3a _dispatch_client_callout + 8 10 libdispatch.dylib 0x7ff80014c32c _dispatch_main_queue_drain + 1338 11 libdispatch.dylib 0x7ff80014bde4 _dispatch_main_queue_callback_4CF + 31 12 CoreFoundation 0x7ff8003869f7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 13 CoreFoundation 0x7ff8003813c6 __CFRunLoopRun + 2482 14 CoreFoundation 0x7ff800380637 CFRunLoopRunSpecific + 560 15 GraphicsServices 0x7ff809c0f28a GSEventRunModal + 139 16 UIKitCore 0x10509d425 -[UIApplication _run] + 994 17 UIKitCore 0x1050a2301 UIApplicationMain + 123 18 MobileSMS 0x100194220 0x100174000 + 131616 19 dyld_sim 0x1003e92bf start_sim + 10 20 dyld 0x10930552e start + 462 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff833de600e __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff833e3d1ff pthread_kill + 263 2 libsystem_c.dylib 0x7ff800132fe0 abort + 130 3 libc++abi.dylib 0x7ff800257742 abort_message + 241 4 libc++abi.dylib 0x7ff80024895d demangling_terminate_handler() + 266 5 libobjc.A.dylib 0x7ff800031fae _objc_terminate() + 96 6 libc++abi.dylib 0x7ff800256b65 std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x7ff800256b16 std::terminate() + 54 8 libdispatch.dylib 0x7ff80013ca4e _dispatch_client_callout + 28 9 libdispatch.dylib 0x7ff80014c32c _dispatch_main_queue_drain + 1338 10 libdispatch.dylib 0x7ff80014bde4 _dispatch_main_queue_callback_4CF + 31 11 CoreFoundation 0x7ff8003869f7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 12 CoreFoundation 0x7ff8003813c6 __CFRunLoopRun + 2482 13 CoreFoundation 0x7ff800380637 CFRunLoopRunSpecific + 560 14 GraphicsServices 0x7ff809c0f28a GSEventRunModal + 139 15 UIKitCore 0x10509d425 -[UIApplication _run] + 994 16 UIKitCore 0x1050a2301 UIApplicationMain + 123 17 MobileSMS 0x100194220 0x100174000 + 131616 18 dyld_sim 0x1003e92bf start_sim + 10 19 dyld 0x10930552e start + 462 Thread 1:: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x7ff833ddf97a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff833ddfce8 mach_msg + 56 2 CoreFoundation 0x7ff800386766 __CFRunLoopServiceMachPort + 145 3 CoreFoundation 0x7ff800380f6f __CFRunLoopRun + 1371 4 CoreFoundation 0x7ff800380637 CFRunLoopRunSpecific + 560 5 Foundation 0x7ff800c569fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213 6 Foundation 0x7ff800c56c75 -[NSRunLoop(NSRunLoop) There's more but I can't fit in this message - any ideas? I'm stumped
Posted
by JMando.
Last updated
.
Post not yet marked as solved
0 Replies
379 Views
Hello, I am a new developer and it is my first time trying to build an iMessage Extension app. I am having an issue with presenting a SwiftUI view using a hosting controller in iOS 16. My code works on earlier OS versions, but for some reason when I updated to iOS 16 the view constraints seem off. I am running the app on an iPhone 13 on iOS 16.03 and what I encounter is the following: When I open the app the view appears all the way at the top of the screen past the safe area. I was able to replicate the issue using the IceCreamBuilderMessagesExtension project in apple docs (https://developer.apple.com/documentation/messages/icecreambuilder_building_an_imessage_extension). I got rid of most of the code in the IceCreamBuilder project to try and isolate just the issue with presenting a SwiftUI view. Here is my code in the IceCreamBuilder project: /* The root view controller shown by the Messages app. */ import UIKit import Messages import SwiftUI class MessagesViewController: MSMessagesAppViewController {   // MARK: Properties       override func willBecomeActive(with conversation: MSConversation) {     super.willBecomeActive(with: conversation)           // Present the view controller appropriate for the conversation and presentation style.     presentViewController(for: conversation, with: presentationStyle)   }       // MARK: MSMessagesAppViewController overrides       override func willTransition(to presentationStyle: MSMessagesAppPresentationStyle) {     super.willTransition(to: presentationStyle)           // Hide child view controllers during the transition.     removeAllChildViewControllers()   }       override func didTransition(to presentationStyle: MSMessagesAppPresentationStyle) {     super.didTransition(to: presentationStyle)           // Present the view controller appropriate for the conversation and presentation style.     guard let conversation = activeConversation else { fatalError("Expected an active converstation") }     presentViewController(for: conversation, with: presentationStyle)   }       // MARK: Child view controller presentation       /// - Tag: PresentViewController   private func presentViewController(for conversation: MSConversation, with presentationStyle: MSMessagesAppPresentationStyle) {     // Remove any child view controllers that have been presented.     removeAllChildViewControllers()           let controller = UIHostingController(rootView: TestView())     addChild(controller)     controller.view.frame = view.bounds     controller.view.translatesAutoresizingMaskIntoConstraints = false     view.addSubview(controller.view)           NSLayoutConstraint.activate([       controller.view.leftAnchor.constraint(equalTo: view.leftAnchor),       controller.view.rightAnchor.constraint(equalTo: view.rightAnchor),       controller.view.topAnchor.constraint(equalTo: view.topAnchor),       controller.view.bottomAnchor.constraint(equalTo: view.bottomAnchor)       ])           controller.didMove(toParent: self)   }           // MARK: Convenience       private func removeAllChildViewControllers() {     for child in children {       child.willMove(toParent: nil)       child.view.removeFromSuperview()       child.removeFromParent()     }   }      } // TestView.swift // IceCreamBuilderMessagesExtension import SwiftUI struct TestView: View {   var body: some View {     VStack {       Text("Test")       Text("Test")       Text("Test")       Text("Test")       Text("Test")     }   } } Any help/insight is very much welcomed, Thank you
Posted
by hazyR.
Last updated
.
Post not yet marked as solved
0 Replies
324 Views
Following this instructions: https://developer.apple.com/documentation/foundation/app_extension_support/supporting_suggestions_in_your_app_s_share_extension?language=objc I've been able to display my contacts into the share sheet suggestion, now I want to remove it from that list. Is that possible? I haven't found a way the opposite to donate an INSendMessageIntent
Posted Last updated
.
Post not yet marked as solved
1 Replies
515 Views
I am looking for interactive messages for list picker and date picker. I followed apple doc and  used json format. Json format is not supported. its showing json in messages not looking like interactive message. Can anyone knows the correct template? Currently I am using following json format but its not working: { "templateType": "ListPicker", "version": "1.0", "data": { "replyMessage": { "title": "Thanks for selecting!", "subtitle": "Option selected" }, "content": { "title": "How can I help You?", "subtitle": "Tap to select option", "elements": [{ "title": "Apple", "subtitle": "apple" }, { "title": "Strawberry", "subtitle": "strawberry" }, { "title": "Other", "subtitle": "other" }] } } }
Posted Last updated
.
Post not yet marked as solved
1 Replies
403 Views
I need to implement SMS into my business. I could use Twilio, but Twilio doesn't give me blue text messages and I would really like our business to be able to send blue text messages to other iPhone users instead of that nasty green color... Is there an API that allows you to automatically send SMS from iMessage so I can send blue text messages to other iPhone users? Or is this not possible and the only way to get blue text messages is to send them manually through a business iPhone?
Posted Last updated
.