V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  NxiJSiOS  ›  全部回复第 8 页 / 共 8 页
回复总数  144
1  2  3  4  5  6  7  8  
2016 年 3 月 4 日
回复了 hilenlai 创建的主题 iDev 安利下用 Swift 仿写的微信客户端,有兴趣的可以看下
thx
2016 年 3 月 4 日
回复了 hilenlai 创建的主题 iDev 安利下用 Swift 仿写的微信客户端,有兴趣的可以看下
发送的图片的轮廓和背景图格格不入?为什么会格格不入,我发现,好像 Yep ,和 JSQ 都好像有添加一个 imageView 盖在上面,就是不太明白。
2016 年 3 月 4 日
回复了 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  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3060 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 13:49 · PVG 21:49 · LAX 06:49 · JFK 09:49
♥ Do have faith in what you're doing.