Find Jobs
Hire Freelancers

need a quick fix - $50

$30-250 USD

Cerrado
Publicado hace más de 5 años

$30-250 USD

Pagado a la entrega
Need to load JS files/libraries(trading view) dynamically using UIwebview. I have succeeded with putting JS files in a .html file but I am not able to pass a variable before the webview loads the .html file. [login to view URL] <!DOCTYPE html> <html> <head> <title>TradingView Charting Library demo </title> <!-- Fix for iOS Safari zooming bug --> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <script type="text/javascript" src="charting_library/[login to view URL]"></script> <script type="text/javascript" src="datafeeds/udf/dist/[login to view URL]"></script> <script type="text/javascript" src="datafeeds/udf/dist/[login to view URL]"></script> <script type="text/javascript" src="[login to view URL]" one='BTC_EUR'></script> <script> var widget; function setSymbol(symbol) { [login to view URL](symbol) [login to view URL]().setSymbol("ADA_BTC"); } function getParameterByName(name) { name = [login to view URL](/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = [login to view URL]([login to view URL]); return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } [login to view URL](function() { widget = new [login to view URL]({ fullscreen: true, symbol: 'BTC_EUR', interval: 'D', container_id: "tv_chart_container", // BEWARE: no trailing slash is expected in feed URL datafeed: new [login to view URL]("[login to view URL]"), library_path: "charting_library/", locale: getParameterByName('lang') || "en", disabled_features: ["use_localstorage_for_settings"], preset: "mobile" }); }) </script> </head> <body style="margin:0px;"> <div id="tv_chart_container"></div> </body> Swift snippet if let url = [login to view URL](forResource: "mobile_white1", withExtension:"html") { let request = NSURLRequest(url: url) [login to view URL](request as URLRequest) [login to view URL](from: "setSymbol(\([login to view URL]()))") } else { [login to view URL] = "<html><head><title>TradingView Charting Library demo</title><meta name='viewport' content='width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0'><meta http-equiv='X-UA-Compatible' content='IE=Edge'></head><body style='margin:0px;'><script type='text/javascript' src='charting_library/[login to view URL]'></script><script type='text/javascript' src='datafeeds/udf/dist/[login to view URL]'></script><script type='text/javascript' src='datafeeds/udf/dist/[login to view URL]'></script><script type='text/javascript' src='[login to view URL]' one='BTC_EUR'></script><div id='tv_chart_container'></div></body></html>" [login to view URL]([login to view URL], baseURL: nil) } [login to view URL] var selectedSymbol = [login to view URL]('one'); If I put mobile_white in forResource(swift), "if" condition executes and everything works well but can't pass dynamically anything in the html file. Then I tried putting the html string inside loadHTMLString and baseURL(nil), it doesn't load the JS libraries now. Only inline JS works. Also I have set baseURL as @"http" with no success. What I have found out by debugging that swift uses "file:///" when I am using loadRequest but it switches to "applewebdata://" when I used "[login to view URL]" and this "applewebdata" thing is not letting webview to load JS files. I want you to read the description before applying. And please include "Hulk" in the starting of the app, other bids will be ignored.
ID del proyecto: 18480312

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
9 freelancers están ofertando un promedio de $103 USD por este trabajo
Avatar del usuario
hello i am web expert i have done many projexts using is jquery. i can solve your issue within an hour
$31 USD en 1 día
5,0 (5 comentarios)
4,0
4,0
Avatar del usuario
Hi there, thank for your project. I had read your project description and understood your concept. I would be able to complete this project because i had developed lots of iPhone / Android Apps with 5+ years of experienced in native, hybrid development with API development knowledge as well. You would get complete package for every solution in one place. I can do game developpment, app development, API works. I m UI/UX designer as well for mobile apps. If you required any previous sample work than kindly message me on chat box. I have few question as well for this project. let chat more on this project waiting for your response Thank you Nitin B.
$250 USD en 5 días
5,0 (4 comentarios)
3,9
3,9
Avatar del usuario
Hi, Please let me know what exact fix you want. Please initiate chat to discuss the project. Regards, Webtek Labs
$30 USD en 1 día
5,0 (2 comentarios)
3,5
3,5
Avatar del usuario
Hi, I have read your job post very carefully. Thank you for this wonderful opportunity. I am very interested to this project. I can finish this job within the necessary time frame. I am professional Android(Java & Kotlin) and iOS( Objective - C & swift) developer. I have 4+ years of experience in this field. I have also experiences HTML5,React Native, anguler js, PHP, codeigniter,CSS3,Java Script Please hire me for this job. Thanks, Golam M
$55 USD en 1 día
5,0 (3 comentarios)
1,4
1,4
Avatar del usuario
Having more than 3.6 Year of development experience in the domain of iPhone application development. ▪ Expertise in developing iPhone applications using Cocoa touch framework and creating UI Design. ▪ Good Knowledge on MVC architecture, Autolayout,Network Reachability, UI element. ▪ Good Knowledge on Third Party Library ,Payment Gateway Integration, Json Parsing, Push Notification and Local Notification, Chat App, Web View, Mapkit, Table View, 3D Touch, QR Code, Pi Chart Graph, Arc Buon, Integration of Social Media, Slide Menu, Animation, Image Slider View, Pod integration, Some knowledge of Business App, Toast View, Loading Hub, Pdf and Image Uploading, decryption And Encryption data, UIAlertController and etc. ▪ Adhere to follow quality process, design/coding standards on the assigned tasks. ▪ Good Knowledge of publishing App on itune. Updating App On itune with new version. Knowledge of Full App life cycle
$45 USD en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
We are Website Developer and Designing expert . Now, This service of us includes the following: + Setting-up of up to 5-10 pages with your desired content and images. + Adding Website's Name + Uploading Logo + Customizing Font, Size & Colors based on client's requirements + Setting-up social media icons and URLs + Setting-up Contact Form + Setting-up Desired Navigation Menu/Tab + Fixing Any Responsive Issues + Fixing Any Cross Browser Issues + Creating a Full Backup + Setup Your Products and Services with Payment Gateway Integrations Briefing Details ① Domain Name ② FTP login details ③ C-pannel login details ④ Logo (png/psd format) ⑤ Desired Color and font choices ⑥ Desired Menu Items ⑦ Image and content - All your contents should be on a doc file with clear instruction provided. Images should be on a separate folder. ⑧ Social Media Accounts (Facebook Page, Instagram, Linked-in) ⑨ Mobile Friendly ⑩ Unlimited Emails Creation Free domain and hosting 1gb for one year Free one month support after deployment 5 to 10 pages Map integration Contact lead generation form Feel free to contact us any time..
$222 USD en 3 días
0,0 (1 comentario)
2,4
2,4

Sobre este cliente

Bandera de INDIA
new delhi, India
4,0
1
Miembro desde oct 1, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.