lilei644 / LLSlideMenu

This is a spring slide menu for iOS apps - 一个弹性侧滑菜单
MIT License
591 stars 93 forks source link

How I can set the Options #14

Open ye4ever opened 7 years ago

ye4ever commented 7 years ago

How I can set the Options?


 UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 140, 150, 400)]; 
 label.text = @"option1\n\noption2\n\noption3"; 
 [label setTextColor:[UIColor whiteColor]]; 
 [label setNumberOfLines:0]; 
 [_slideMenu addSubview:label]
lilei644 commented 7 years ago

Hello, the menu is packed with the bottom of the view and animation, the menu above the view is completely customized, directly through the addSubview: to add the menu can be!

ye4ever commented 7 years ago

Thank you for the greatest Slide Menu it is the best one , and i am planning to use it in all my apps ,if you allow me ^_^

i tried to add Options to menu ,but nothing work , can you please add unless tow Options and paste the code here

thank you so much