简体   繁体   中英

mapView should throw “user prompt message”. location couldn't befound

In my app, after entering some parameters, it shows location in mapView. What I want is when a user enter some and that place can't be located then it should throw a message that "could not find"....means "prompt message". How to do it ..any related answer will be appriciated. thanks.

You're looking for a UIAlertView. There's a handy tutorial here: http://getsetgames.com/2009/12/02/iphonedev-advent-tip-2-how-to-show-an-alert-with-uialertview/

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