Find Jobs
Hire Freelancers

need a quick fix - $50

$30-250 USD

已关闭
已发布超过 5 年前

$30-250 USD

货到付款
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: 18480312

关于此项目

9提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
9威客以平均价$103 USD来参与此工作竞价
用户头像
hello i am web expert i have done many projexts using is jquery. i can solve your issue within an hour
$31 USD 在1天之内
5.0 (5条评论)
4.0
4.0
用户头像
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 在5天之内
5.0 (4条评论)
3.9
3.9
用户头像
Hi, Please let me know what exact fix you want. Please initiate chat to discuss the project. Regards, Webtek Labs
$30 USD 在1天之内
5.0 (2条评论)
3.5
3.5
用户头像
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 在1天之内
5.0 (3条评论)
1.4
1.4
用户头像
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 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在3天之内
0.0 (1条评论)
2.4
2.4

关于客户

INDIA的国旗
new delhi, India
4.0
1
会员自10月 1, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。