I am creating a Xamarin Forms custom renderer. I need to invoke and manipulate a native iOS view controller inside the custom renderer.
I see two possible options :
After all the examples I have seen it looks like the same renderer can possibly be reused over many different invocations of a forms element so they should not hold state. Especially if you add 10 different declarations of the same element to your page and each element will need its own renderer with its own state. The reason I think this is because of the way OnElementChanged() has to be handled. Am I off base on this?