Conversation started Feb 11, 2015 at 5:36.
Tirth
Feb 11, 2015 05:36
hi @SidShah i wanna help
i'm going to implement custom tab bar in iPhone application using autolayout sizes class
so i put one view in botton and put 5 buttons same sizes in it.
Sid Shah
OK..
Tirth
i don't know how to set constraints on it. Do you have any steps yeah idea on it ..
Sid Shah
for the first one give leading and center Y
and last one with trailing
Tirth
this is my output
this is my IB
Sid Shah
Icon 5 give trail contraint
Otherwise do one thing..
Tirth
Feb 11, 2015 05:42
yes tell me
Sid Shah
select Icon 1 and give the equal width
Tirth
ok
Sid Shah
to superview
there may be some warning
Tirth
hmmm
Sid Shah
You need to calculate and set multiplier
if icon width is 100 then (100/320) == multiplier
so all the icon width will increase in all device
you got my point
Tirth
Feb 11, 2015 05:46
yes dude
Sid Shah
all the other will have equal width to icon1
Tirth
i going to implement universal application iPhone and iPad portrait mode
how i set constraints and sizes properties in storyboard nib which help me autosize both iPhone and iPad all iOS device versions
@SidShah
Sid Shah
its depends on the Ui.. for the above tabbar....
icon 1 : leading , center y ,equal width su superview
also top and botton
for the height
icon 2 : horizontal space to icon 1 , equal width and height , center Y
Conversation ended Feb 11, 2015 at 5:58.
all rooms
Custom Tab bar using autolayout
Feb '15
11
iOS Developers
iOS Development Technical Discussions
context of the conversation
join this room
about this room
Participants
Sid Shah
54%
Tirth
45%
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile