DBProfileViewController
DBProfileViewController copied to clipboard
How to change avatar view size?
I looked at a couple classes in DBProfileViewController, but couldn't figure out how the avatar view's frame was initially set. Is there a way to change the size of the view?
Never mind, I just found it. For other people who want to change avatarView size, here is the line where the size is defined:
in DBProfileAccessoryViewLayoutAttributes.m
static CGSize DBProfileAccessoryViewLayoutAttributesDefaultAvatarReferenceSize() { return CGSizeMake(0, 72); }