I'm currently in the process of creating my custom tab bar. It's working fine, the way I did it The default bar was hidden. I have my images ready, they are closed on and it seems that they are being implemented in main concept by:
btn3.frame = CGRectMake (240, 430, 80, 50);
The number combination is unique, every CGRectMake I have done it, but I'm using 3 buttons on the bar. This tutorial uses four if I'm using 3 buttons and no combination of numbers for each CGRectMake should be set. 4. 4. Because I think comboes are proportional to each other, depending on it That's how many tabs are. That's all, setting the frame size and the position of buttons / tabs.
I used them for my tab, but I got a difference between BTN 1.frame = CGRactam (0, 430, 80, 50); BTN 2.frame = CGRactam (160, 430, 80, 50); Btn3.frame = CGRectMake (240, 430, 80, 50);
This is in the fourth box on the page.
// pseudocode int numButtons = 3; Float Button Width = self.view.frame.size.width / numButtons; Btn1.frame = CGRectMake (0 * buttonUsing, 430, ButtonAge, 50); Btn2.frame = CGRectMake (1 * button orientation, 430, button orientation, 50); Btn3.frame = CGRectMake (2 * button; Object, 430, ButtonAgument, 50);
Comments
Post a Comment