I have found a UI bug. See the sceenshots:


You can see its cornerRadius changed when the view is scrolled up a little and segmented control view is tapped. I think I have found the problem.
In DBProfileAvatarView.m, the imageView's cornerRadius is determined by self.frame. But when the animation happens its cornerRadius value is changed. See screenshots:

I simply just changed self.frame to self.bounds, this issue went away. See screenshots:

I would like to do a pull request to contribute, but frankly I've never done that and don't know how...... Anyway, hope this helps, and let me know what you think.