File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ DCPatButton *centerButton = [[DCPathButton alloc]initWithCenterImage:[UIImage im
5555```
56564.Create some item buttons and add them into the center button
5757``` objc
58- DCPathItemButton *itemButton_1 = [[DCPathItemButton alloc ]initWithImage:[UIImage imageNamed: @"image"]
58+ DCPathItemButton *itemButton_1 = [[DCPathItemButton alloc ]initWithImage:[UIImage imageNamed: @"image"]
5959 highlightedImage:[ UIImage imageNamed:@"highlightedImage"]
6060 backgroundImage:[ UIImage imageNamed:@"backgroundImage"]
6161 backgroundHighlightedImage:[ UIImage imageNamed:@"backgroundhighlightedImage"]] ;
@@ -88,8 +88,15 @@ You can add one item at least or five items at most. Assume we have five items,
8888
8989` bloomRadius ` is use to handle the item button bloom radius, default is ` 105.0f ` ;
9090
91- Now there is only one public ` property ` in ** DCPathButton** . :|
92- If you want more DIY. Just open an [ issue] ( https://github.com/Tangdixi/DCPathButton/issues ) , tell me what you want. :)
91+ ``` objc
92+ @property (assign, nonatomic) CGPoint dcButtonCenter;
93+ ```
94+
95+ ` dcButtonCenter ` is use to modify the center button's position.
96+ In default the ** DCPathButton** will be located in the center of a TabBar, assume that you use a * TabBarController*
97+ ;
98+
99+ If you have any suggestions. Just open an [ issue] ( https://github.com/Tangdixi/DCPathButton/issues ) , tell me what you want. :)
93100
94101##Problems, bugs or advice
95102
You can’t perform that action at this time.
0 commit comments