imessage

How to fetch the phone number for the imessage extension created application

有些话、适合烂在心里 提交于 2019-12-01 14:23:24
I am trying to implement an iMessage Extension application, i want to fetch the number for whom i have selected the imessage to be created with the app i have created. How to fetch the number whom I am sending this custom message. Any idea ? as I could not get much information from the Message Class referenced in the 'MSMessage' library file. I can only access the UUID which is not what I want. Thanks for any suggestions given. For the moment it's not possible. It's more a question of privacy, Apple doesn't want dev to access private data like that. Maybe later Apple will allow it via a

How to fetch the phone number for the imessage extension created application

懵懂的女人 提交于 2019-12-01 12:06:17
问题 I am trying to implement an iMessage Extension application, i want to fetch the number for whom i have selected the imessage to be created with the app i have created. How to fetch the number whom I am sending this custom message. Any idea ? as I could not get much information from the Message Class referenced in the 'MSMessage' library file. I can only access the UUID which is not what I want. Thanks for any suggestions given. 回答1: For the moment it's not possible. It's more a question of

Can't release iMessage extension in AppStore because of missing Messages framework

蹲街弑〆低调 提交于 2019-12-01 06:56:13
问题 I implemented iMessage extension in my ios project, but after submiting and reviewing my build i see following in iTunnes connect: "Your binary doesn’t implement the Messages framework. The screenshots won’t be shown on the App Store for iMessage." I tried to add it in main target but still problem is there I'm quite confused what i should do, as i have it worked in simulator and test device. May i need to change something in my build schema or settings? Thanks in advance for any advices. 回答1

missing 148x110 iMessage icon

独自空忆成欢 提交于 2019-11-29 15:38:26
I am trying to post an app that supports messaging to itunesconnect using Xcode. Whenever I try to post the file, I get the error, "Missing app icon. The bundle dosn't contain an iMessage app icon. iMessage app icons must be 148x100 pixels in .png format". I don't see a place to put in the file. Where should I put it? The image that you are adding in iMessage should be size as mention in Assets. "missing 148x110 iMessage icon" means you are missed 2x image of imessage icon of ipad pro 74*55 pt because 2*(74*55) == 148*110 You have to add above size image at 2x section of "ipad pro 74*55" You

SMS notifications in iOS6

孤者浪人 提交于 2019-11-29 02:28:31
I found SMS notifications are not supported in iPhone ,but I found a video on Pebble Smart watch which sends SMS notification and iMessage notification . Here are the video and the application links. http://www.razorianfly.com/2012/12/07/pebble-officially-announces-sms-and-imessage-support-for-iphone-video/ http://www.iphoneincanada.ca/iphone-news/pebble-watch-now-supports-iphone-sms-and-imessage-video/ https://itunes.apple.com/us/app/pebble-smartwatch/id592012721?mt=8 I also found on the web SMS notifications are supported only in iOS6 but not iOS5 Previous stackoverflow and other links on

iOS 10 iMessage app extension: how do i calculate the height of the extra tall navbar

谁都会走 提交于 2019-11-28 18:21:01
I downloaded the Xcode 8 beta and was trying to play around with the iMessages app extension sdk but ran into an issue with their seemingly nonstandard nav bar height when i transition into the app's expanded view, my image with the following frame CGRect(x: 0, y: 0, width: 100, height: 100) ends up partially hidden behind the nav bar. i would like it to appear below the nav bar. i tried self.navigationController?.navigationBar.isTranslucent = false but it didn't work, which i guess makes sense since it's out of my app's scope to control. has anyone played around with this yet? i want to avoid

missing 148x110 iMessage icon

别来无恙 提交于 2019-11-28 09:54:32
问题 I am trying to post an app that supports messaging to itunesconnect using Xcode. Whenever I try to post the file, I get the error, "Missing app icon. The bundle dosn't contain an iMessage app icon. iMessage app icons must be 148x100 pixels in .png format". I don't see a place to put in the file. Where should I put it? 回答1: The image that you are adding in iMessage should be size as mention in Assets. "missing 148x110 iMessage icon" means you are missed 2x image of imessage icon of ipad pro 74

Sending SMS in iOS with Swift

烈酒焚心 提交于 2019-11-27 17:02:57
First of all, I'm really surprised that this is not a duplicate, because there are TONS of stackoverflow questions that solve this in Objective-C, but I have yet to see a good answer that used Swift. What I'm looking for is a code snippet in Swift that sends an arbitrary string as a the body of a text message to given phone number. Essentially, I'd like something like this from Apple's official documentation, but in Swift instead of Objective-C. I imagine this isn't too difficult, as it can be done in just a couple of lines of code in Android. EDIT: What I'm looking for is 5-20 lines of Swift

My app inside iMessage UIActivityViewController [duplicate]

倖福魔咒の 提交于 2019-11-27 08:09:42
This question already has an answer here: How do I associate file types with an iPhone application? 3 answers When I open attached image inside my iMessage and tap on "Share" button, I can see icons of 3rd party apps like "Path" or "Evernote". The question is: How can I add my own app to this list? herzbube Instead of a URL scheme you need to add a document type to your app. Try adding the following fragment to your Info.plist : <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>public.jpeg</string> <key>CFBundleTypeRole</key> <string>Editor</string> <key

How can one enable keyboard like in iMessages/FB Messenger in landscape mode at iOS8?

旧时模样 提交于 2019-11-27 02:27:41
问题 In my project I have textViews with associated input keyboard which has the strange look in landscape mode on iPhone 6 Plus under iOS8 as shown below: It seems that it has different orientation internally sometimes. But in some cases keyboard rotates fine but still has white gaps during orientation change and other visible bugs: and finally we have ordinary expanded landscape view: The question is how one can get the extended keyboard without bugs as follows: 回答1: The very important thing to