Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ハイブリッドアプリ開発のさわり

 ハイブリッドアプリ開発のさわり

大塚真言

January 19, 2019
Tweet

More Decks by 大塚真言

Other Decks in Programming

Transcript

  1. 1988೥ ౦ژ౎೔໺ࢢੜ·Ε 2012೥ ෋࢜௨גࣜձࣾ SEਓੜΛ։࢝ 2015೥ גࣜձࣾαʔνϑΟʔϧυ FAAVOࣄۀ෦ ஍Ҭ×Ϋϥ΢υϑΝϯσΟϯά FAAVO

    WebΤϯδχΞ 2017೥ ౦ژˠٶ࡚Ҡॅ FAAVOٶ࡚ΦϑΟε্ཱͪ͛ 2018೥ ϑϦʔϥϯεͱͯ͠ಠཱ 10݄ ߹ಉձࣾϊϚυϦ ઃཱ
  2. ಈ࡞؀ڥ ݴޠ 8FC ΞϓϦ 8FCϒϥ΢β )5.-$44+4 FUD ωΠςΟϒ ΞϓϦ 04

    4XJGU+BWB FUD ϋΠϒϦου ΞϓϦᶃ 8FCϒϥ΢β  04 )5.-$44+4 4XJGU+BWB FUD ϋΠϒϦου ΞϓϦᶄ 04 )5.-$44+4 FUD ϞόΠϧΞϓϦҰཡ
  3. ಈ࡞؀ڥ ݴޠ උߟ 8FC ΞϓϦ 8FCϒϥ΢β )5.-$44+4 FUD ωΠςΟϒ ΞϓϦ

    04 4XJGU+BWB FUD ϋΠϒϦου ΞϓϦᶃ 8FCϒϥ΢β  04 )5.-$44+4 4XJGU+BWB FUD ΨϫωΠςΟϒ ϋΠϒϦου ΞϓϦᶄ 04 )5.-$44+4 FUD ϞόΠϧΞϓϦҰཡ
  4. ಈ࡞؀ڥ ݴޠ උߟ 8FC ΞϓϦ 8FCϒϥ΢β )5.-$44+4 FUD ωΠςΟϒ ΞϓϦ

    04 4XJGU+BWB FUD ϋΠϒϦου ΞϓϦᶃ 8FCϒϥ΢β  04 )5.-$44+4 4XJGU+BWB FUD ΨϫωΠςΟϒ ϋΠϒϦου ΞϓϦᶄ 04 )5.-$44+4 FUD 㲈41" ϞόΠϧΞϓϦҰཡ
  5. import UIKit import WebKit class ViewController: UIViewController, WKUIDelegate{ private var

    webView: WKWebView! override func viewDidLoad() { super.viewDidLoad() // WKWebViewΛੜ੒ webView = WKWebView(frame:CGRect(x:0, y:0, width:self.view.bounds.size.width, height:self.view.bounds.size.height)) // URLઃఆ let urlString = "https://www.google.com/" let encodedUrlString = urlString.addingPercentEncoding(withAllowedCharacters:NSCharacterSet.urlQueryAllowed) let url = NSURL(string: encodedUrlString!) let request = NSURLRequest(url: url! as URL) webView.load(request as URLRequest) self.view.addSubview(webView) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }