๐Ÿ‘จ‍๐Ÿ’ป kimtongting

 

 

 

์›น์•ฑ ์ปค์Šคํ„ฐ๋งˆ์ด์ง•

ํ™”๋ฉด์— ๋Œ€ํ•œ ๊ด€์‹ฌ๋„๊ฐ€ ๊ฐˆ์ˆ˜๋ก ๋†’์•„์ง€๊ณ  ์žˆ๋‹ค.

์˜ค๋กœ์ง€ View ๋งŒ์„ ์œ„ํ•œ Program Language๊ฐ€ ๊ณ„์†ํ•ด์„œ ์ถœ์‹œ๋˜๊ณ  ์žˆ๋Š” ๊ฒƒ๋งŒ ๋ณด์•„๋„ ๋Š๊ปด์ง„๋‹ค.

์Šคํƒ€ํŠธ์—…์ด๋‚˜, ๋– ์˜ค๋ฅด๋Š” ๊ธฐ์—…์˜ ํ”„๋ก ํŠธ์•ค๋“œ ๊ฐœ๋ฐœ์ž๋“ค์€ ๋•๋ถ„์— ๋ฐ”๋น ์ง€๊ณ (?)์žˆ๋‹ค.

 

๋ณดํ†ต ์ค‘์†Œ๊ธฐ์—… ๋ฐ ์ค‘๊ฒฌ๊ธฐ์—…์€ ์˜›๋‚  ์†Œ์Šค๋ฅผ ๋Œ€๋ถ€๋ถ„ ์œ ์ง€๋ณด์ˆ˜ ์ค‘์ด๋‹ค.

์ด๋Š” ์ข‹๊ฒŒ ๋งํ•˜๋ฉด '์•ˆ์ •ํ™”', ๋‚˜์˜๊ฒŒ ๋งํ•˜๋ฉด 'ํ•„์š”์„ฑ์„ ๋ชป๋Š๋‚Œ' ๋˜๋Š” '๊ท€์ฐฎ์Œ' ์ด๋‹ค.

 

ํŠนํžˆ ๋ฐฑ์—”๋“œ ๋ถ„์•ผ์—์„œ๋Š” ์ถ”๊ฐ€๊ฐœ๋ฐœ ์š”์ฒญ์ด ์˜ค๋ฉด ์˜›๋‚  ์†Œ์Šค๋ฅผ ๋ถ„์„ํ•˜๊ณ , JDK ๋˜๋Š” SDK ๋“ฑ ์–ธ์–ด์˜ ๋ฒ„์ „์„ ๋งž์ถ”๊ณ , ํ•ด๋‹น ๋ฒ„์ „์— ๋งž๋Š” ์˜›๋‚  ๋ฐฉ์‹์˜ ์†Œ์Šค๋กœ ์ฝ”๋”ฉ์„ ์ง„ํ–‰ํ•ด์•ผํ•˜๊ณ ... ์ด๋Ÿฌํ•œ ๋ถˆํ•„์š”ํ•œ ๊ณผ์ •๋“ค์ด ์ฐธ ๋งŽ๋‹ค.

 

๊ทธ๋Ÿฐ๋ฐ, ํ”„๋ก ํŠธ์—”๋“œ ๋ถ„์•ผ์—์„œ๋Š” ์ด ๊ณผ์ •์ด ์กฐ๊ธˆ ์‰ฝ๋‹ค.

๋Œ€๋‹ค์ˆ˜๊ฐ€ HTML5๋กœ ๊ฐœ๋ฐœ๋˜์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ํƒœ๊ทธ ๋ช‡๊ฐœ๋กœ ์—„์ฒญ๋‚œ ๋ณ€ํ™”๋ฅผ ๊พ€ํ•  ์ˆ˜ ์žˆ๋‹ค.

 

 

๋‚ด ๊ธฐ๊ธฐ์— ๋งž๊ฒŒ

๋ฐ”๋กœ viewport์ด๋‹ค.

์ด๋ฅผ ์ด์šฉํ•˜๋ฉด, ์‚ฌ์šฉ์ค‘์ธ device์— ๋งž๊ฒŒ width์™€ height์ด ํ™•๋Œ€๋œ๋‹ค.

 

๊ธฐ์กด์— ์‚ฌ์šฉ์ค‘์ธ ์›น์˜ <head>ํƒœ๊ทธ ์•ˆ์— ์•„๋ž˜ metaํƒœ๊ทธ๋งŒ ์ถ”๊ฐ€ํ•˜๋ฉด ์‚ฌ์šฉ์ค‘์ธ device์— ๋งž๊ฒŒ ์ถœ๋ ฅ๋œ๋‹ค.

    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">

 

์›น์•ฑ ์ถ”๊ฐ€๊ธฐ๋Šฅ ๋ถ€๊ฐ€๊ธฐ๋Šฅ (ํ™ˆํ™”๋ฉด์— ์ถ”๊ฐ€)

ํ™ˆ ํ™”๋ฉด์— ์ถ”๊ฐ€ ๊ธฐ๋Šฅ์€ IOS ์™€ Android ์— ๋”ฐ๋ผ ์„ค์ •์ด ๋‹ค๋ฅด๋‹ค.

ํ•˜์ง€๋งŒ ์šฐ๋ฆฌ์—๊ฒ ๋งŽ์ด ์จ๋„ ๋ถ€๋‹ด์—†๋Š” meta ํƒœ๊ทธ๊ฐ€ ์žˆ๋‹ค.

 

์ž์ฃผ ์“ฐ์ด๋Š” metaํƒœ๊ทธ๋“ค๊ณผ link ๋งŒ ๋‹ด์•„๋ณด์•˜๋‹ค.

<meta name="application-name" content="ํ™ˆํ™”๋ฉด์— ์ถ”๊ฐ€ Title Android"/>
<meta name="apple-mobile-web-app-title" content="ํ™ˆํ™”๋ฉด์— ์ถ”๊ฐ€ Title IOS"/>
<meta name="mobile-web-app-capable" content="yes"/> <!-- ํ’€ ์Šคํฌ๋ฆฐ ๋ชจ๋“œ์„ค์ • Android -->
<meta name="apple-mobile-web-app-capable" content="yes"/> <!-- ํ’€ ์Šคํฌ๋ฆฐ ๋ชจ๋“œ์„ค์ • IOS -->
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <!-- ์ƒํƒœ๋ฐ” ํ‘œ์‹œ IOS -->


<link rel="shortcut icon" href="/favicon.ico"/>	<!-- ํƒญ ์ด๋ฏธ์ง€ favicon -->
<link rel="icon" type="image/png" sizes="192x192" href="/logo192.png"><!-- ํ™ˆํ™”๋ฉด์— ์ถ”๊ฐ€ icon Android -->
<link rel="apple-touch-icon" href="/logo192.png"/> <!-- ํ™ˆํ™”๋ฉด์— ์ถ”๊ฐ€ icon IOS -->

<link rel="apple-touch-startup-image" href="/logo114.png"/> <!-- Splash icon IOS -->

<!-- Splash ์ด๋ฏธ์ง€๋Š” ์ž์ฃผ ์‚ฌ์šฉํ•˜์ง€๋Š” ์•Š์•„์„œ.. ๋ณ„๋„๋กœ ๋บ๋‹ค -->
<!-- STARTUP IMAGES - IOS๋งŒ ํ•ด๋‹น -->

    <!-- iPad retina portrait startup image -->
    <link href="/splash-1536x2008.jpg"
          media="(device-width: 768px) and (device-height: 1024px)
                 and (-webkit-device-pixel-ratio: 2)
                 and (orientation: portrait)"
          rel="apple-touch-startup-image">

    <!-- iPad retina landscape startup image -->
    <link href="/splash-1496x2048.jpg"
          media="(device-width: 768px) and (device-height: 1024px)
                 and (-webkit-device-pixel-ratio: 2)
                 and (orientation: landscape)"
          rel="apple-touch-startup-image">

    <!-- iPad non-retina portrait startup image -->
    <link href="/splash-768x1004.jpg"
          media="(device-width: 768px) and (device-height: 1024px)
                 and (-webkit-device-pixel-ratio: 1)
                 and (orientation: portrait)"
          rel="apple-touch-startup-image">

    <!-- iPad non-retina landscape startup image -->
    <link href="/splash-748x1024.jpg"
          media="(device-width: 768px) and (device-height: 1024px)
                 and (-webkit-device-pixel-ratio: 1)
                 and (orientation: landscape)"
          rel="apple-touch-startup-image">

    <!-- iPhone 6 Plus portrait startup image -->
    <link href="/splash-1242x2148.jpg"
          media="(device-width: 414px) and (device-height: 736px)
                 and (-webkit-device-pixel-ratio: 3)
                 and (orientation: portrait)"
          rel="apple-touch-startup-image">

    <!-- iPhone 6 Plus landscape startup image -->
    <link href="/splash-1182x2208.jpg"
          media="(device-width: 414px) and (device-height: 736px)
                 and (-webkit-device-pixel-ratio: 3)
                 and (orientation: landscape)"
          rel="apple-touch-startup-image">

    <!-- iPhone 6 startup image -->
    <link href="/splash-750x1294.jpg"
          media="(device-width: 375px) and (device-height: 667px)
                 and (-webkit-device-pixel-ratio: 2)"
          rel="apple-touch-startup-image">

    <!-- iPhone 5 startup image -->
    <link href="/splash-640x1096.jpg"
          media="(device-width: 320px) and (device-height: 568px)
                 and (-webkit-device-pixel-ratio: 2)"
          rel="apple-touch-startup-image">

    <!-- iPhone < 5 retina startup image -->
    <link href="/splash-640x920.jpg"
          media="(device-width: 320px) and (device-height: 480px)
                 and (-webkit-device-pixel-ratio: 2)"
          rel="apple-touch-startup-image">

    <!-- iPhone < 5 non-retina startup image -->
    <link href="/splash-320x460.jpg"
          media="(device-width: 320px) and (device-height: 480px)
                 and (-webkit-device-pixel-ratio: 1)"
          rel="apple-touch-startup-image">

 

 

 

 

 

 

๋ฐ˜์‘ํ˜•
profile

๐Ÿ‘จ‍๐Ÿ’ป kimtongting

@kimtongting ์ž…๋‹ˆ๋‹ค

ํฌ์ŠคํŒ…์ด ์ข‹์•˜๋‹ค๋ฉด "์ข‹์•„์š”โค๏ธ" ๋˜๋Š” "๊ตฌ๋…๐Ÿ‘๐Ÿป" ํ•ด์ฃผ์„ธ์š”!