imessage

Why is the top layout guide moving in my iMessage extension

五迷三道 提交于 2019-12-20 21:02:33
问题 I have an iMessage extension and I'm having some issues with the top layout guide. I have an MSMessagesAppViewController that handles changes between presentation styles. In my extension I have a button. When it is clicked I transition to expanded presentation style and then present a view controller modally. Here's the problem: my UI in the second VC is getting hidden behind the top navigation bar. I thought this was strange as I set my constraints to the top layout guide. So I dug through

How to start new conversation in iMessage using AppleScript?

荒凉一梦 提交于 2019-12-18 14:45:08
问题 So I'm working on creating an applescript which essentially automates sending an imessage. What I have working now is: on run {msg, phoneNum} tell application "Messages" set serviceID to id of 1st service whose service type = iMessage send msg to buddy phoneNum of service id serviceID end tell end run This works for the most part except it doesn't work when starting a new conversation. When you run the script to a number which you don't have a conversation with in messages, you get a popup

SMS notifications in iOS6

半城伤御伤魂 提交于 2019-12-18 03:42:20
问题 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

My app inside iMessage UIActivityViewController [duplicate]

☆樱花仙子☆ 提交于 2019-12-17 09:36:27
问题 This question already has answers here : How do I associate file types with an iPhone application? (4 answers) Closed 6 years ago . 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? 回答1: 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

How prevent view under navbar in iMessage app extension

若如初见. 提交于 2019-12-13 06:59:45
问题 I have the same issue in this post, i follow all recommended in that answers but notting works, in my case the difference is that i have a table view controller. I have tried in many ways to prevent this from happening. example: -(void)viewDidLayoutSubviews { //the next 2 lines was tested with self.tableView and self.view [self.view.topAnchor constraintEqualToAnchor:self.topLayoutGuide.bottomAnchor constant:8.0].active = YES; [self.view constraintEqualToAnchor:[self.topLayoutGuide

How can I show Stickers from Document directory in Swift

送分小仙女□ 提交于 2019-12-13 00:35:08
问题 DispatchQueue.main.async { var x : Int = 0 for item in self.arrGifs { let gif : GIF = item as! GIF let gifName = URL(string: gif.gifImage)?.lastPathComponent // let ur let pathUrl = URL.urlInDocumentsDirectory(with: "\(gifName!)").path print("image path is =====>", pathUrl) //RawImages.xcassets // if let url = Bundle.main.url(forResource:"3", withExtension: "gif") // { print("url is ------>>>> ",url) do { let sticker = try // MSSticker(contentsOfFileURL: url,localizedDescription: "")

This iMessage application is missing its required iMessage app extension

可紊 提交于 2019-12-12 12:43:09
问题 Using Xcode 8.0, running stickers app on iPhone (with iOS 10.0.2) gives me this error: This iMessage application is missing its required iMessage app extension It runs fine on simulator. What am I doing wrong? I'm using Xcode 8.1 Beta . 回答1: Please check if your deployment target is less than your device iOS version. If you are running Xcode Beta with deployment target 10.1 , your device must be at least on same beta version. Reduce your deployment target to 10.0 otherwise. 回答2: Please make

Implement iMessage programmatically

走远了吗. 提交于 2019-12-12 02:07:33
问题 I am thinking to include iMessage feature in my iOS app. Can we customize it through programming in iOS? I want user can block/disable particular user in group chat. is it possible? 回答1: No this is not possible, Apple does not provide any API for interacting with iMessage. You could have easily found this out with some simple web searches or having a look at the Apple iOS API documentation. 回答2: Now you can do in iOS 10 with new framework of iMessageApp. 来源: https://stackoverflow.com

The bundle doesn't contain an iMessage icon. iMessage app icons must be 120x90 pixels in .png format

限于喜欢 提交于 2019-12-11 12:44:58
问题 We are facing error/issue while we submitting app on app store. please check the error screenshot: Error screenshot This error occurs when validating. Below is the i Message icon and its info which we used iMessage app icon Image The error message is "The bundle doesn't contain an iMessage icon. iMessage app icons must be 120x90 pixels in .png format" Is it an xcode issue OR issue with the image? 来源: https://stackoverflow.com/questions/47218020/the-bundle-doesnt-contain-an-imessage-icon

What is the difference between Apple's iMessage template or adding an extension to an existing app?

瘦欲@ 提交于 2019-12-10 09:27:25
问题 I have noticed this different regarding the creation of messages apps for iOS 10. If you create a new project using iMessage Application choice on the new project's template, Xcode will create two targets, an app and an extension. but the project is not able to run. (see by this second picture that there is only one choice on the target selector at the bottom and that target is the extension). When you create a normal app, like a single view app and then add a target that is an app extension