Tengo una vista web, un cuadro de texto y un botón en UIView,
La vista web tiene un sitio abierto en él, que contiene el cuadro de texto y el botón de envío.
cuando el usuario ingrese texto en el cuadro de texto de UIView y presione el botón en UIView, el texto debe rellenarse en el cuadro de texto de la vista web.
¿Es posible?
Cualquier ayuda sería aceptada.
gracias por adelantado.
Respuestas
3 para la respuesta № 1Echa un vistazo a este método en UIWebView:
- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
Eso te permitirá ejecutar código JavaScript en tu vista web y obtener el resultado en una NSString.