I would like to add a button apart from (Done & Action) but couldn't achieve that yet with “AGSPopupsContainerViewController” class. With the new button i would like to show “Related Record”. |
You can use the doneButton property on AGSPopupsContainerViewController to define your custom buttons. Just create a view with the required buttons, and use the initWithCustomView initializer on UIBarButtonItem to create a bar button item and assign it to the doneButton property. To compensate for the original done button you can have a custom button with custom action to dismiss the popups container view controller.
When clicking on feature the callout popsup. I would like to display these . How can i call these within the callout. |
With "these" I am assuming you mean the action sheet in callout in the screenshot. I don't think you can have an action sheet inside a custom view and more over it won't look right. But you can definitely have your custom view with different buttons inside a callout. Take a look at this sample.
I see the plus minus buttons in the screenshot, which I am assuming are there for zoom in and out. I think you don't really need them because its a touch device, you can simply pinch-out and pinch-in or tap with one finger and tap with two fingers to zoom in and out respectively.
Let me know if this helps.