How to load iPhone UIViewController from Unity3d?

Hello,

I am developing one game application and i want to give login functionality to user. So i am planning to show Login view which is developed in xCode but how can i show it when my unity3d game is running. Means if user click on Login button from Unity3d it should show LoginView from xCode native.

can any body help me?

Thanks in advance.

Finally i am answering my own question.

  1. Need to create one plugin.
  2. Call function fro unity which will invoke your xCode native code.
  3. xCode native code will add view to UIWindow.