AMEPageContentView
适用于 iOS 的页面内容视图
简体中文: 中文说明
这是什么?
特性
如何使用?
支持的属性
//The necessary
self.contentView.fatherViewController = self;
self.contentView.itemArray = self.itemArray;
//optional
self.contentView.canScroll = YES;
self.contentView.buttonWidth = 100;
self.contentView.underLineLenth = 100;
self.contentView.underLineHeight = 2;
self.contentView.chooseViewHeight = 60;
self.contentView.selectedColor = [UIColor orangeColor];
self.contentView.notSelectedColor = [UIColor greenColor];
self.contentView.underLineColor = [UIColor orangeColor];
self.contentView.delegate = self;
不要忘记
将此方法添加到父视图控制器
- (BOOL)shouldAutomaticallyForwardAppearanceMethods{
return NO;
}
安装
pod 'AMEPageContentView'
#import <AMEPageContentView.h>