ios - iMessage App Video Message volume not working -
i sending video message in imessage app using following code.
@ibaction func didpress() { if let conversation = activeconversation { if let filepath = bundle.main.path(forresource: "small", oftype: ".mp4") { let filepathurl = nsurl.fileurl(withpath: filepath) let layout = msmessagetemplatelayout() //layout.image = image layout.mediafileurl = filepathurl let message = msmessage() message.layout = layout //message.url = url(string: "emptyurl") conversation.insert(message, completionhandler: { (error: nserror?) in print(error any) } as? (error?) -> void) } } } when appears in message window plays video muted sound icon. when tap sound icon open volume instead open expanded view controller.
is ios bug in imessage app extension?
is not because of default layout? msmessagetemplatelayout()
have tried custom layout?


Comments
Post a Comment