• Viernes 29 de Marzo de 2024, 01:27

Autor Tema:  Leer html local  (Leído 1900 veces)

ElNapster

  • Moderador
  • ******
  • Mensajes: 727
    • Ver Perfil
Leer html local
« en: Martes 17 de Marzo de 2015, 15:19 »
Buenas tardes,

Soy nuevo en el tema del desarrollo de app para ios, pero me aventure y pues ahora estoy metido en lios jajajaj les explico.

Estoy leyendo un html local, para que sea mostrado en un UIWebView y estoy utlizando la siguiente sintaxis:

Código: [Seleccionar]
func Mostrar(){
var htmlFile = NSBundle.mainBundle().pathForResource("menu", ofType: "html")!
var htmlString = NSString(contentsOfFile: htmlFile, encoding: NSUTF8StringEncoding, error: nil)
self.webView.loadHTMLString(htmlString, baseURL: nil)
}


Pero cuando se muestra el WebView esta en blanco, sera que estoy haciendo algo mal ?
Muchas gracias por su ayuda amigos !!!
"Somos lo que imaginamos ser"
-- --------------------------------------------------------------
-ElNapster
-Designer / Developer Software
-GuaTemALa



kerculture

  • Nuevo Miembro
  • *
  • Mensajes: 1
    • Ver Perfil
Re:Leer html local
« Respuesta #1 en: Lunes 2 de Octubre de 2023, 08:54 »
A once-in-a-generation annular eclipse will be visible from the Klamath Falls region, and umbraphiles will go there to see it for about four minutes. From October 10-15, you may camp out, eat good cuisine, and dordle.

sethrollens7860

  • Nuevo Miembro
  • *
  • Mensajes: 1
    • Ver Perfil
Re:Leer html local
« Respuesta #2 en: Jueves 12 de Octubre de 2023, 07:37 »
Looking for seamless home network management? Discover the power of Orbi Login. With easy setup and configuration, Orbi Login allows you to take control of your network settings, manage connected devices, The ultimate solution for a reliable and secure home network. Take the first step towards a better connected home today. Contact On +18558697373

https://orbihelpline.com/orbi-login/
« última modificación: Jueves 12 de Octubre de 2023, 07:39 por sethrollens7860 »