i obtenir cette valeur pour html alors comment show dans WebView si je reçois ce type de valeur <head> <meta/> <title>Journey Mapper - Getting Started</title> </head> <body> <a name="top"><h3>Getting Started - Registration and Login</h3></a> <p class="style1"> <a href="Index.html">Home</a> <a href="#reg">Registration</a> <a href="#login">Login</a> <a href="#forget">Forgot Password</a> </p> <a name="reg"><h4>Regis<a href="#top" class="style1" style="text-align:right"></a></h4> </a> <p>When the application starts in a click on "My Journeys" tab</p> <p>Click on "New User" button </p> <p>A Registration form will popup enter your profile details</p> <p>Note: </p> <ul> <li>All fields are mandatory</li> <li>A password must be at least eight characters long, begin with an alphabetic character, contain at least one upper case and one lower case letter, at least one number and one of the following special characters</li> <li>A valid email address should be provided to facilitate password reset</li> <li>Active Internet connection is required to setup your profile</li> </ul> <p>Click on sign up button to complete your registration</p> <p><a name="reg" id="reg"><a href="#top" class="style1" style="text-align:right">Back to Top</a></a></p> <a name="login"><h4>Login</h4></a> <p>To login as a registered user to Journey Mapper, click on "My Journey" tab </p> <p>Click on "Login" button</p> <p>A dialog will pop up, enter your registered username and password in respective fields.</p> <p>Click on login button to validate provided credentials and to log you in.</p> <p>You can also check "Auto-login" to retain your login information even when application is closed.</p> <p><a name="reg" id="reg2"><a href="#top" class="style1" style="text-align:right">Back to Top</a></a></p> <a name="forget"><h4>Forgot Password</h4></a> <p>In case you have forgotten your password you can request a reset of your password.</p> <p>Click on the "Forgot Password?" link on the login dialog.</p> <p>A "Forgot Password?" form will appear, enter your username and click on the "Send Password" button</p> <p>An email will be sent to your registered email address, which will contain the instructions to reset your password</p> <p><a name="reg" id="reg3"><a href="#top" class="style1" style="text-align:right">Back to Top</a></a></p> <p><a name="jump" href="#">Continue reading</a></p> </body> </html>
comment appeler le texte brut html sur webview dans l'iphone?
0
A
Répondre
0
Cela devrait vous aider
NSString *myHTML = @"<html><body><h1>Hello, world!</h1></body></html>"; [myUIWebView loadHTMLString:myHTML baseURL:nil];
baseURL sera fileURL à votre dossier de ressources si vous avez des images ou vous pouvez simplement passer nil
.
0
Utilisation méthode de chaîne de charge pour une vue Web:
[webView loadHTMLString: myHtmlString baseURL: nil];
Questions connexes
- 1. WebView Android montre le texte brut
- 2. Afficher le texte brut HTML
- 3. onLongClick pour le texte brut à l'intérieur d'un WebView
- 4. Extraire le texte brut du texte HTML dans asp.net
- 5. Convertir du texte HTML en texte brut
- 6. SOLR 4 - comment indexer le texte brut html
- 7. comment afficher le contenu avec html brut
- 8. UIWebView chargement texte brut
- 9. Obtenir HTML brut/ajouter du Javascript aux pages WebView
- 10. comment convertir du texte HTML en texte brut?
- 11. Espresso: Comment appeler evaluJavascript() sur un WebView
- 12. Convertir html en texte brut en VBA
- 13. Convertir l'entrée de texte brut en HTML
- 14. Comment convertir le texte accentué dans le texte brut R
- 15. codes HTML Convertir en texte brut
- 16. Texte brut en alignement vertical en HTML
- 17. Ajout d'un rembourrage au texte HTML brut
- 18. Ruby: Convertir HTML/Redcloth en texte brut
- 19. HTML brut dans le filtre de forme
- 20. Expression régulière sur HTML brut
- 21. SyntaxHighlighter pour le texte brut sur blogspot
- 22. Html Convertir en texte brut avec rasoir
- 23. appeler l'image locale dans drawable avec html (WebView)
- 24. Comment autosize page HTML dans le WebView?
- 25. HTML brut - comment mesurer la largeur/hauteur sur le serveur?
- 26. HTML au texte brut (pour l'email)
- 27. utiliser le HTML brut dans php
- 28. PHP Comment obtenir le code brut html dans cette situation?
- 29. comment appeler HTML chez Android?
- 30. Quand appeler ScrollTo sur un WebView
Voir http://stackoverflow.com/questions/4138336/how-to-show-html-text-from-api-on-the-iphone/4138610#4138610 –