Implementing Select Features by drawing on the Map in ArcGIS iOS SDK

Discussion created by salicmd on Dec 14, 2013
I am developing an app using ArcGIS iOS SDK 10.1.1 with help of some map services hosted on ArcGIS server.
I need to build a following functions on my app.
User select a tool and draw a figure like rectangle, polygon etc, then a particular  layer features are selected on the map, which are contained / touched the user drawn figure.
Can anyone figure out how I can implement this?.

with regards