From my viewcontroller view I am loading a xib file. I want this view to be shown only for, say 3 seconds. After that I have to remove this view. Should I use NSTimer here or is there a better way to show and remove this view. Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Add this code in
viewDidLoadAdd this method in your class
Also setUserInteraction to NO to your view