I have used storyboard with autolayout for my UI design. Basically in android there are three different properties will be there like Visible, Invisible and Gone.
For Example:
1) android:visibility="gone" // used to hide the control and as well as space
(or)
CONTROLNAME.setVisibility(View.GONE);
2) android:visibility="invisible" // used to hide the control but it will take space
(or)
CONTROLNAME.setVisibility(View.INVISIBLE);
In iOS,
objective-c
1) ?
2) [CONTROLNAME setHidden:TRUE]; // used to hide the control but it will take space
swift
1) ?
2) CONTROLNAME.isHidden = true // used to hide the control but it will take space
for act as a Gone in iOS i have searched from google but i can't able to find the Solution.