ActionSheet样式2--Qin
<h1>样式展示</h1>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/5a64c6b4b897021c151814ce921b41da?showdoc=.jpg" alt="" /></p>
<h1>参数说明</h1>
<p>/*
obj 选中对象
index 选择下标
*<em>/
typedef void(^SelectItemBlock)(id obj, NSInteger index);
/</em>
arr 数据源
title 标题
**/</p>
<ul>
<li>(instancetype)initWithDataArray:(NSArray <em>)arr title:(NSString </em>)title;</li>
</ul>
<h1>引入说明</h1>
<p>公共类库import "LLUIKit_MacroDefinitionHeader.h"
import "LLUIKit_SheetSelectBottomView.h"</p>
<h1>代码示例</h1>
<pre><code>LLUIKit_SheetSelectBottomView *selectCustomView = [[LLUIKit_SheetSelectBottomView alloc]initWithDataArray:@[@{@"title":@"吨"},@{@"title":@"方"},@{@"title":@"车"},@{@"title":@"趟"}] title:@"单位选择"];
selectCustomView.selectString = @"吨";
selectCustomView.selectBlock = ^(id obj, NSInteger index) {
};
[self presentViewController:selectCustomView animated:YES completion:nil];</code></pre>