V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  NxiJSiOS  ›  全部回复第 8 页 / 共 8 页
回复总数  144
1  2  3  4  5  6  7  8  
2016-03-04 18:26:35 +08:00
回复了 hilenlai 创建的主题 iDev 安利下用 Swift 仿写的微信客户端,有兴趣的可以看下
thx
2016-03-04 17:58:17 +08:00
回复了 hilenlai 创建的主题 iDev 安利下用 Swift 仿写的微信客户端,有兴趣的可以看下
发送的图片的轮廓和背景图格格不入?为什么会格格不入,我发现,好像 Yep ,和 JSQ 都好像有添加一个 imageView 盖在上面,就是不太明白。
2016-03-04 17:43:27 +08:00
回复了 hilenlai 创建的主题 iDev 安利下用 Swift 仿写的微信客户端,有兴趣的可以看下
你好,问一个问题:为什么写含有图片的 Cell 。要添加一个图片盖在上面。
let stretchConverImage = model.fromMe ? TSAsset.SenderImageNodeBorder.image : TSAsset.ReceiverImageNodeBorder.image
let bubbleConverImage = stretchConverImage.resizableImageWithCapInsets(stretchInsets, resizingMode: .Stretch)
self.coverImageView.image = bubbleConverImage
self.coverImageView.frame = CGRectMake(
self.chatImageView.left - 1,
self.chatImageView.top,
self.chatImageView.width + 2,
self.chatImageView.height + 2
)
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3600 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 04:56 · PVG 12:56 · LAX 21:56 · JFK 00:56
Developed with CodeLauncher
♥ Do have faith in what you're doing.