继承UIButton,重写layoutSubviews,改变UIButton的imageView和titleLabel的的frame。可以任意该改变UIButtonimageView和titleLabel的的起始位置和中间距离。通过枚举,imageVIew和titleLabel分为上下,左右排列布局。