imessage

iOS 10 Messages Extension - Wrong Layout when using Storyboard Segue

一笑奈何 提交于 2019-12-03 12:45:42
When using Segues in Messages Extension Application the layout gets messed up. Is there any way to solve this issue while still using storrybord segues? Screenshots: (Note: The first and second View / ViewController are identical. The segue-type doesn't matter) Expanded Presentation Style: Compact Presentation Style: Update 1: The top and bottom layout guides reset after a segue compact: top: should be: 0 but is: 20 bottom: should be: 44 but is: 0 expanded: top: should be: 86 but is: 20 bottom: should be: 44 but is: 0 P.S. Can someone create a new "messages-extension" tag? I hope this won't

Custom extension file not opening in iMessage

那年仲夏 提交于 2019-12-03 10:05:35
In my app, I need to send some custom data files from one device to another, and I am trying to do this with Mail, iMessage/Message and Airdrop. This works fine with Mail and Airdrop but with iMessage and it goes just fine, but on the receiving end, I am not able to open the files. It's just not allowing me to do anything with it. Any ideas?? This is what my Document Type looks like: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeIconFile</key> <string>abc.png</string> <key>CFBundleTypeName</key> <string>ABC Custom Data type</string> <key>CFBundleTypeRole</key> <string>Viewer

iOS 10 : Add sticker extension to an existing Application

感情迁移 提交于 2019-12-03 09:45:54
I want to make an iOS sticker pack for my application. I've been looking around and I managed to do a sticker app via Xcode. My problem is that I don't want a stand-alone sticker app. Users will never go to the store to download it separately. I want the sticker to be include in my classic app, like an "extra" : "You've downloaded the app, thanks you, here are stickers you can use in message". I've tried to do "Add Target" like explained here But when I run my app, I can see my view controller but not my sticker in my messaging app. Can someone help me please ? If you dont want to use it as a

Sending an iMessage as simple as possible iOS

本小妞迷上赌 提交于 2019-12-03 04:33:09
问题 I want to be able to programmatically send an iMessage without anything else being done except calling a function that will send a text to a number with a message, both of which are text boxes. I'd really appreciate some sample code as I've hunted the net but nothing I've found will help. This is not for a commercial app, just me so it can use Private frameworks, or anything that will do the job. Thanks. 回答1: The only way to send a message is to the MessageUI framework. There is an example of

Callback for MSSticker Peels in iOS 10 iMessage sticker app

北慕城南 提交于 2019-12-03 04:28:41
问题 I'm experimenting with sticker iMessage apps in iOS 10 and I'm running into an issue with the override func didStartSending(_ message: MSMessage, conversation: MSConversation) method in MSMessagesAppViewController . When "peeling" a sticker from an MSStickerView , I would expect to receive some sort of callback on the didStartSending method. But it appears this is not the case. Does anyone know if this is the expected behavior and/or if there's another way to subscribe to callbacks for when

Callback for MSSticker Peels in iOS 10 iMessage sticker app

六月ゝ 毕业季﹏ 提交于 2019-12-02 18:45:00
I'm experimenting with sticker iMessage apps in iOS 10 and I'm running into an issue with the override func didStartSending(_ message: MSMessage, conversation: MSConversation) method in MSMessagesAppViewController . When "peeling" a sticker from an MSStickerView , I would expect to receive some sort of callback on the didStartSending method. But it appears this is not the case. Does anyone know if this is the expected behavior and/or if there's another way to subscribe to callbacks for when these stickers are peeled, dragged, and dropped into the MSConversation ? I realize that didStartSending

How is this slide-up menu from the iPhone messages app implemented?

为君一笑 提交于 2019-12-02 18:01:30
问题 In the Messages app on my iPhone (iOS 8.0.2), when you are composing a message and you click on the camera icon to insert an image, a "slide-up" menu appears from the bottom. It contains a few buttons, along with recently-taken pictures I could insert into my message. What is this menu called? Is it available through a native class already? How are the images nested inside the menu? Are there any helpful other helpful resources for implementing it? Thank you! 回答1: It's called a

Sending an iMessage as simple as possible iOS

末鹿安然 提交于 2019-12-02 17:45:31
I want to be able to programmatically send an iMessage without anything else being done except calling a function that will send a text to a number with a message, both of which are text boxes. I'd really appreciate some sample code as I've hunted the net but nothing I've found will help. This is not for a commercial app, just me so it can use Private frameworks, or anything that will do the job. Thanks. woz The only way to send a message is to the MessageUI framework. There is an example of how to do this in the iOS documentation: https://developer.apple.com/library/ios/#samplecode

How to send an imessage text with applescript, only in provided service?

瘦欲@ 提交于 2019-12-02 14:05:09
Can somebody show me how to send a message directly to the user of iMessage via Messages app? tell application "Messages" if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 1 if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 2 if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 3 send "Message" to buddy "mail of name" of service x end tell I need to send a message to an account only via iMessage, not via google talk, AIM, bonjour. Thank you! Instead of having to hard-code

Detect Incoming iMessages or Text Messages - iOS [closed]

寵の児 提交于 2019-12-02 12:20:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am trying to develop an iOS app that detects incoming iMessages or Text Messages. I do not need to know the message content, who it's from, or any other things like that. I just want to be alerted when the user of my app receives a text message. Does anyone know of any way to do this without jailbreaking? This