导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

session204 imessageApp sticker part I要点

session204 imessageApp sticker partI


工程文件:
https://developer.apple.com/library/prerelease/content/samplecode/IceCreamBuilder

工程文件:
https://github.com/urmyfaith/wwdc2016_session204_iMessageDemo

 

这位老兄说话有点不清楚啊

给系统短信App创建表情包。

有两个方式:
1.单独的纯图片
2.含代码。

表情可以是动图,senquneces
AppIcon
静态表情包只需要图片就可以了,无需任何代码。
可以设置图片的大小。

文件格式:PNG,APNG,JPEG,GIF
动图格式:APNG,GIF
最大文件尺寸 500KB

推荐格式;PNG,APNG

 

图片尺寸
small 100*100 3x
regular 136*136 3x
large 206*206 3x

如果尺寸超过了,就会被压缩。

==============

为什么第二个都是女士?

自定义UI,更换背景图片。
动态创建,
可以访问相机
可以购买!!!!!

MStickerBrowserViewController中有两个属性:
1. stickerBrowserView,展示表情的view
2. sticerSize,表情尺寸

MStickerBrowserViewDataSource数据源:
1. 有多少张表情
2. 在每个index位置的表情: MSSticker对象。
这个对象:
1)只有一个创建方式:从一个fileURL
2)这个对象有个两个属性:A是图片的URL,B是图片的描述

Compact收起
Expanded展开模式

两个模式之间的切换。

204_hd_imessage_apps_and_stickers_part_1.mp4_000104.592

204_hd_imessage_apps_and_stickers_part_1.mp4_000347.356

 

iceCream

 

iceCream01

iceCream02

204_hd_imessage_apps_and_stickers_part_1.mp4_000544.969

204_hd_imessage_apps_and_stickers_part_1.mp4_000654.314

 

204_hd_imessage_apps_and_stickers_part_1.mp4_000733.484

 

204_hd_imessage_apps_and_stickers_part_1.mp4_000910.914

 

204_hd_imessage_apps_and_stickers_part_1.mp4_001609.167

 

204_hd_imessage_apps_and_stickers_part_1.mp4_001611.671

204_hd_imessage_apps_and_stickers_part_1.mp4_001840.947

 

204_hd_imessage_apps_and_stickers_part_1.mp4_003541.432204_hd_imessage_apps_and_stickers_part_1.mp4_002102.184

 

204_hd_imessage_apps_and_stickers_part_1.mp4_003539.229

204_hd_imessage_apps_and_stickers_part_1.mp4_002834.999

 

204_hd_imessage_apps_and_stickers_part_1.mp4_003437.569

204_hd_imessage_apps_and_stickers_part_1.mp4_003444.678

204_hd_imessage_apps_and_stickers_part_1.mp4_002834.999

204_hd_imessage_apps_and_stickers_part_1.mp4_003539.229

posted on   淅沥枫  阅读(594)  评论(0编辑  收藏  举报

编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
点击右上角即可分享
微信分享提示