简体   繁体   中英

Small popup for instructions… How?

I am trying to get a popup appear the first time an app is started. Just to give you an idea check the new version of foursquare. A small popup (like a comic) appear explaining where the checkin button is located. Then if you tap anywhere it goes away. I googled for the last hour but I have not found anything at all and I have no idea on how to do it.

Anyone can point me in the right direction?

Thanks in advance, Umberto

You can show a customized UIlabel on app's load and then use performSelectorAfterDelay: and hide the label inside this method. For the tapping thing you can add a UITapGesture on your view to notify if some tap's occurred and hide the label if it's still there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM