本文介绍了iPhone在传入的MMS中是否支持SMIL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我开发的一项服务中,我正在向用户发送一条MMS消息,该消息由静态顺序的6张图像组成.为了正确地对图像进行排序并添加格式,我使用了SMIL,该SMIL在许多设备上都运行良好.

In one service I have developed, I am sending a MMS message to the user which consists of 6 images in a static order. To sort the images correctly and add formatting, I have used SMIL, which has worked well on a range of devices.

但是,似乎iPhone根本无法识别SMIL.图片是按文件名的字母顺序排列的,更糟糕​​的是-它们不会显示为一条MMS消息,而是显示为7条消息:标题和一则图像消息.

However, it seems that the iPhone is not recognizing SMIL at all. Images are ordered by file name alphabetically, and what is worse - they are not displayed as a single MMS message - but as 7 messages: title, and one message for one image.

这是我的SMIL:

<smil>
<head>
<layout>
    <root-layout  width="320" height="360" background-color="#FFFFFF" />
    <region id="logo" width="100" height="18" left="0" top="0" background-color="#FFFFFF"/>
    <region id="Text" width="320" height="342" left="0" top="25" background-color="#FFFFFF" />
    <region id="Intro" background-color="#FFFFFF"  fit="meet" left="38.5px" top="auto" />
    <region id="Image2" background-color="#FFFFFF" fit="meet" left="38.5px" top="auto"/>
    <region id="Image3" background-color="#FFFFFF" fit="meet" left="38.5px" top="auto"/>
</layout></head>
<body>
<par dur="6s">
<img src="Resized/intro1_250x360.jpg" region="Intro" />
</par>
<par dur="6s">
<img src="image2.jpg" region="Image2" />
</par>
<par dur="10s">
<img src="image3.jpg" region="Text" />
</par>
<par dur="10s">
<img src="image4.jpg" region="Text" />
</par>
<par dur="6s">
<img src="image5.jpg" region="Image3" />
</par>
<par dur="10s">
<img src="image6.jpg" region="Text" />
</par>
    </body>
</smil>

有人在iPhone上使用SMIL MMS消息取得了成功吗?谢谢

Has anybody had any success with SMIL MMS messages on iPhone?Thanks

推荐答案

在进行彩信服务时,Apple iPhone工程团队并非真正的信徒.因此,当他们在iPhone上实现MMSClient版本时,便忽略了SMIL支持.他们似乎只是忽略了3GPP标准的那一部分.鉴于直至Snow Leopard的QuickTime都支持SMIL,这并不是说他们没有该技术.

The Apple iPhone engineering team are not true believers when it come to MMS. So when they implemented there version of an MMSClient for the iPhone they omitted SMIL support. They seem to have just ignored that part of the 3GPP standards. Given that QuickTime up to Snow Leopard supported SMIL it's not like they didn't have the technology.

苹果公司是一家伟大的工程公司,但是它已经严重削弱了彩信系统.在WWDC上,我问了一位iPhone工程师,为什么MMS不符合标准,他说:"MMS仅包括满足与其他手机之间发送照片的要求-可以正常运行,因此我们达到了目标".当我指出由于不支持SMIL而使它们不符合标准时,他回答说:用户在iPhone上拥有处理多媒体的更好的功能."

Apple is a great engineering company but has completely crippled MMS. At WWDC I asked one of the iPhone Engineers why MMS was not standards compliant he said "MMS was only included to satisfy sending photos to and from other handsets - that works so we have met the objective". When I pointed out that they were not standards compliant because they didn't support SMIL he responded with "users have much better facilities on the iPhone to handle multi media".

因此,您已经拥有了它. SMIL无法正常工作.苹果不在乎.

So there you have it. SMIL won't work. Apple don't care.

这篇关于iPhone在传入的MMS中是否支持SMIL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:29
查看更多