to use same visibility functions in android such as
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);
which is in this question for apple watch application
i have tried code below
splashscreenImage.removeFromSuperView()
and
[self.splashscreenImage addConstraint:[NSLayoutConstraint constraintWithItem:self.captchaView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.0 constant:0]];
also
[splashscreenImage removeFromSuperview]
non of above has worked for me. Please tell me code to remove view from super for a class which is extended from WKInterfaceController.
Thank you.