You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All,
if i was validate my text field, any error are generate then i am display it on ToastView. as well as i was focus on that text field as well. so i am write down following code :
Or instead of presenting the toast in the window (anything added directly to the window is generally considered bad practice because it breaks the concept of a view hierarchy. It also won't work properly if your app supports rotation because the toast won't be a subview of your root view controller's view).
Hello All,
if i was validate my text field, any error are generate then i am display it on ToastView. as well as i was focus on that text field as well. so i am write down following code :
[textfield becomeFirstResponder];
[[[UIApplication sharedApplication] keyWindow] makeToast:InvalidPassword duration:3.0 position:@"bottom"];
but my toast view hide behind the keyboard. so how can i solve it. I am using Storyboard.
The text was updated successfully, but these errors were encountered: