Find Jobs
Hire Freelancers

need a quick fix - $50

$30-250 USD

Closed
Posted over 5 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 18480312

About the project

9 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $103 USD for this job
User Avatar
hello i am web expert i have done many projexts using is jquery. i can solve your issue within an hour
$31 USD in 1 day
5.0 (5 reviews)
4.0
4.0
User Avatar
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 in 5 days
5.0 (4 reviews)
3.9
3.9
User Avatar
Hi, Please let me know what exact fix you want. Please initiate chat to discuss the project. Regards, Webtek Labs
$30 USD in 1 day
5.0 (2 reviews)
3.5
3.5
User Avatar
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 in 1 day
5.0 (3 reviews)
1.4
1.4
User Avatar
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 in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 3 days
0.0 (1 review)
2.4
2.4

About the client

Flag of INDIA
new delhi, India
4.0
1
Member since Oct 1, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.