UITextField inside SDL_Window

Hello,

Is it currently possible to create UITextField inside SDL_Window for IOS ?
I am curious on how to do it I was trying something like this but I cannot
get it to work correctly.

UIWindow * appWindow = wmInfo.info.uikit.window;
UITextField* text = [[UITextField alloc] initWithFrame:CGRectMake(0, 0,

320, 480)];
UIViewController * rootViewController = appWindow.rootViewController;
[view addSubview:text];

Thanks,

Alex