Baskaran,
To get feature types for each layer in a dynamic map service, you could create an AGSFeatureLayer for each layer. Thus, you can reuse the logic in the sample you mentioned to handle multiple feature layers.
Having multiple AGSFeatureLayers may also be necessary if your application allows the user to edit features in any layer.