Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

iOS app selector does not work for UIButton if AutoInstrument is true

iOS app selector does not work for UIButton if AutoInstrument is true

Weird thing is happening where i would need some help. 
If i programatically add a target action with a selector to a button, it will not work if Appdynamics is set to auto Instrumentation. If i set the ADEumAgentConfigurations boolean for enableAutoInstrument to false then it works perfectly.
Below code shows how the target action is set.

button.addTarget(self, action: #selector(userDidTapOnFullImageInLinkPreview(_:)), for: .touchUpInside)

Would be nice if i could enable Auto Instrument but if this does not allow me to execute these touch events then i cant do it. Any fix for that?

Thanks

iOS app selector does not work for UIButton if AutoInstrument is true