GithubHelp home page GithubHelp logo

Comments (11)

nixzhu avatar nixzhu commented on July 22, 2024

Thanks for test! Could you post your avatar's URL here?

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

here we go, http://7xkszy.com2.z0.glb.qiniucdn.com/pics/avatars/u8516711441533445.jpg?imageView2/1/w/128/h/128

from navi.

nixzhu avatar nixzhu commented on July 22, 2024

Please let me know if version 0.3.6 fixed this issue.

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

this still not work @ 0.3.6
image

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

这个实现的是否能取代当前的方法呢?
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.

nixzhu avatar nixzhu commented on July 22, 2024

@CodeEagle 请运行项目的 Demo,在 "Contacts" 里,最后两个是你提供的头像,样式为圆形,它们的格式正确吗?或者你自行调整至你需要的样式看看。 我暂时无法重现这个 bug。

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

hi,运行效果如下,最后一个是不行的。
image

from navi.

nixzhu avatar nixzhu commented on July 22, 2024

@CodeEagle 请问你测试机的 iOS 版本是多少?

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

@nixzhu 一直是用模拟器测试,

真机测试没问题,模拟器不通过

from navi.

kevinzhow avatar kevinzhow commented on July 22, 2024

@CodeEagle 试试把模拟器上的 App 删掉重新打开看效果,可能是缓存

from navi.

CodeEagle avatar CodeEagle commented on July 22, 2024

@kevinzhow 不行,下载 Repo,运行,没有 Cache 的
Xcode7.1 iPhone Simulator 6s / iOS 9.1 (13B137)

image

from navi.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.