Comments (11)
Thanks for test! Could you post your avatar's URL here?
from navi.
here we go, http://7xkszy.com2.z0.glb.qiniucdn.com/pics/avatars/u8516711441533445.jpg?imageView2/1/w/128/h/128
from navi.
Please let me know if version 0.3.6 fixed this issue.
from navi.
from navi.
这个实现的是否能取代当前的方法呢?
https://github.com/Alamofire/AlamofireImage/blob/master/Source/UIImage%2BAlamofireImage.swift
line 213
UIGraphicsBeginImageContextWithOptions(size, false, 0.0)
let scaledRadius = divideRadiusByImageScale ? radius / scale : radius
let clippingPath = UIBezierPath(roundedRect: CGRect(origin: CGPointZero, size: size), cornerRadius: scaledRadius)
clippingPath.addClip()
drawInRect(CGRect(origin: CGPointZero, size: size))
let roundedImage = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
return roundedImage
from navi.
@CodeEagle 请运行项目的 Demo,在 "Contacts" 里,最后两个是你提供的头像,样式为圆形,它们的格式正确吗?或者你自行调整至你需要的样式看看。 我暂时无法重现这个 bug。
from navi.
from navi.
@CodeEagle 请问你测试机的 iOS 版本是多少?
from navi.
@nixzhu 一直是用模拟器测试,
真机测试没问题,模拟器不通过
from navi.
@CodeEagle 试试把模拟器上的 App 删掉重新打开看效果,可能是缓存
from navi.
@kevinzhow 不行,下载 Repo,运行,没有 Cache 的
Xcode7.1 iPhone Simulator 6s / iOS 9.1 (13B137)
from navi.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navi.