vs スクリーンレコーディング

6500a96a5f0786d7ff0c53429d691ae6?s=47 kazuhiro4949
February 16, 2018

vs スクリーンレコーディング

Mobile Act NAGOYA での発表資料
https://mobileact.connpass.com/event/77509/

6500a96a5f0786d7ff0c53429d691ae6?s=128

kazuhiro4949

February 16, 2018
Tweet

Transcript

  1. WTεΫϦʔϯϨίʔσΟϯά ,B[VIJSP)":"4)* .PCJMF"DU/"(0:"

  2. ࣗݾ঺հ w ྛ࿨߂ w 5XJUUFSɿLB[VIJSP w (JUIVCɿLB[VIJSP w 2JJUBɿLB[VIJSP w

    :BIPP+BQBO$PSQ w J04ΞϓϦΤϯδχΞ w J04ΞϓϦࠇଳ w /BHPZBJ04NFFUVQͱ͍͏ϛʔτΞοϓΛӡӦ͍ͯ͠·͢
  3. εΫϦʔϯϨίʔσΟϯά w J04͔Βಋೖ͞Εͨ04ͷػೳ w ίϯτϩʔϧηϯλʔͷϘλϯ͔ Βɺը໘ૢ࡞ΛϫϯλοϓͰ࿥ը Ͱ͖Δ εΫϦʔϯϨίʔσΟϯάϘλϯ ը໘࿥ը͕։࢝͞ΕΔ

  4. ௒ศརͩʜ

  5. ͍΍ͪΐͬͱ଴ͯ

  6. ϏσΦΦϯσϚϯυ 70%  ʹ͓͚Δ࿥ը໰୊ w εΫϦʔϯϨίʔσΟϯά͸04ػೳͳͨΊεΫγϣͱಉ͡ ͘ΞϓϦͰ੍ޚෆೳ w ༗ྉίϯςϯπͰ΋खܰʹ࿥ըɾγΣΞͰ͖ͯ͠·͏

  7. өը΍൪૊ͷࢹௌத͸࿥ըΛ ͯ͠΄͘͠ͳ͍৔߹͸Ͳ͏͢Δ͔

  8. ίϯςϯπͷ࿥ըΛ๷͙ํ๏ 6*4DSFFOͷ"1*Ͱݕग़͢Δ )551-JWF4USFBNJOHʢ)-4ʣͰ$POUFOU1SPUFDUJPOΛ࣮૷

  9. ίϯςϯπͷ࿥ըΛ๷͙ํ๏ 6*4DSFFOͷ"1*Ͱݕग़͢Δ )551-JWF4USFBNJOHʢ)-4ʣͰ$POUFOU1SPUFDUJPOΛ࣮૷

  10. 6*4DSFFOΛ࢖ͬͯνΣοΫ w εΫϦʔϯ͕Ωϟϓνϟ͞Ε͍ͯΔͱϑϥάཱ͕ͭ w J04Ќ൛ͷ్த͔Βಋೖ͞Εͨ UIScreen.main.isCaptured // -> true or

    false
  11. /PUJpDBUJPO$FOUFSͰ؂ࢹ w εΫϦʔϯͷΩϟϓνϟ͕։࢝ɾऴྃ͞ΕΔͱ͜ͷ௨஌͕ඈͿ w J04Ќ൛ͷ࠷ޙͷํʹಋೖ͞Εͨ Notification.Name.UIScreenCapturedDidChange

  12. όονϦͩͱࢥͬͨΒʜ w ͜ΕͰࢹௌதʹ࿥ըͨ͠Β࠶ੜ ΛࢭΊͯΞϥʔτΛग़ͤΔɺΑ ͔ͬͨ w ʜͱࢥ͍ͬͯΔͱ"JS1MBZ΍$BTU ͕Ͱ͖ͳ͘ͳ͍ͬͯͨ IUUQTEFWFMPQFSTHPPHMFDPNDBTU IUUQTEFWFMPQFSBQQMFDPNBJSQMBZ

  13. IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOVJLJUVJTDSFFOJTDBQUVSFE ͖ͬ͞ͷJT$BQUVSFEʹ஫ҙॻ͖͕ w "1*%PDʹ͸ϛϥʔϦϯά΍"JS1MBZ΋ϑϥάΛཱͯΔͱॻ͍ͯ͋Δ w ·͔͞ͷ࿥ըҎ֎΋ಓ࿈Εʹʜ

  14. "JS1MBZɾ$BTUΛݕग़͢Δ w "71MBZFSͰ࠶ੜ͍ͯ͠ΔͷͰ͋Ε͹ɺ"JS1MBZ΍$BTUΛݕग़Մೳ w ͦͷ"1*ͱ૊Έ߹Θͤͯʮϑϥά͸ཱ͍ͬͯΔ͕ͦΕ͸"JS1MBZͰ͸ ͳ͍ʯঢ়ଶΛݕग़ // player: AVPlayer UIScreen.main.isCaptured

    && !player.isExternalPlaybackActive
  15. ϛϥʔϦϯάΛݕग़͢Δ w ϛϥʔϦϯά͸6*4DSFFOͷNJSSPSFEͰݕग़Մೳ w ࢼͯ͠ΈͨΒϛϥʔϦϯάதʹ͸6*4DSFFOͷΦϒδΣΫτ͕த ʹೖ͍ͬͯͨ UISCreen.screens.map { $0.mirrored }

  16. ϛϥʔϦϯάத͔ͭ࿥ըதͷݕग़͸೉͍͠ʁ w ͨͩ͠ϛϥʔϦϯά͸୺຤্Ͱ΋ಉ ࣌ʹ࠶ੜ͕͞ΕΔ w ઌͷϑϥάΛ૊Έ߹Θͤͯ΋ϛϥʔ Ϧϯάதͷ࿥ըPOP⒎͸Θ͔Βͳ͍ JT$BQUVSFE͸ৗʹUSVFʹͳΔͷͰ  w

    ํ๏͕ݟ͚ͭΒΕͣɺϛϥʔϦϯά΋ ෆڐՄʹ͢Δ͔͠ͳ͍ʜ "JS1MBZ΍$BTU ϛϥʔϦϯά "JS1MBZத IUUQXXXTBNQMFWJEFPTDPN
  17. ͱࢥ͍ͬͯͨΒ w J04͙Β͍͔ΒϛϥʔϦϯάத͸ͦ΋ͦ΋ϨίʔσΟϯάϘλϯΛԡͤͳ ͍Α͏ʹมߋ͞Εͨ໛༷ w ͬͯ͜ͱ͸ઌͷϑϥάΛݟͯϛϥʔϦϯάΛڐՄ͢Ε͹େৎ෉ʜ

  18. ίϯςϯπͷ࿥ըΛ๷͙ํ๏ 6*4DSFFOͷ"1*Ͱݕग़͢Δ )551-JWF4USFBNJOHʢ)-4ʣͰ$POUFOU1SPUFDUJPOΛ࣮૷

  19. ͜͜·ͰͰ෼ͨͬͯͨΒʜ w IUUQTEFWFMPQFSBQQMFDPNTUSFBNJOHGQT ͜ͷެࣜࢿྉ͕શͯͰ͢ʂʂʂ

  20. ·ͩ࣌ؒ͋Γͦ͏ͩͬͨΒ

  21. 'BJS1MBZ4USFBNJOH '14 w '14ͱ͍͏΋ͷ࢖͏ͱ)-4ͷίϯςϯπΛϓϩςΫτͰ͖Δ w ίϯςϯπΛ҆શʹ҉߸Խɾෳ߹Խ͢Δ伴ͷ΍ΓऔΓͷͨΊͷ࢓૊Έ w ࿥ըͨ͠'14ͷίϯςϯπΛ࠶ੜͨ͠৔߹͸ɺͦͷ෦෼͚ͩ࿥ը͕Ͱ͖͍ͯͳ ͍ঢ়ଶʹͳΔͬΆ͍

  22. ਖ਼֬ʹ๷͙ʹ͸͜Ε͕Ұ൪͍͍ʁ w ͿͬͪΌ͚͜Ε͕Ұ൪ਖ਼͍͠બ୒ w ͨͩ͠ɺ͙͢഑৴Λ༻ҙͰ͖ͳ͍৔߹͸ΫϥΠΞϯτଆͰରԠ͢Δͷ͕ݱ࣮త ʹ͸ָ

  23. ҉߸ԽͷͨΊʹ,FZ4FSWFSΛ༻ҙ͢Δ w ίϯςϯπΛऔಘͯ͠"7'PVOEBUJPO ʹ౉͢ͱ伴Λཁٻ͞ΕΔ w ,FZTFSWFS΁伴ΛϦΫΤετ w 04͕ɺͦͷ伴Ͱ$POUFOU4FSWFSͷ҉ ߸ԽίϯςϯπΛ%FDSZQU w

    ৄࡉ͸IUUQTEFWFMPQFSBQQMFDPN TUSFBNJOHGQT '14ରԠΞϓϦ 04 ,FZ4FSWFS $POUFOU4FSWFS
  24. ͦͯ͠஌Βͳ͍͏ͪʹຊ͕݅ 5FDIOJDBM2"ʹ΋ͳ͍ͬͯͨ IUUQTEFWFMPQFSBQQMFDPNMJCSBSZDPOUFOURBRB@JOEFYIUNM

  25. ΑΓ੔ཧͨ͠಺༰͸2JJUB΁ॻ ͖·ͨ͠ J04͔Β౥ࡌ͞ΕΔεΫϦʔϯϨίʔσΟϯάͰͷ࿥ըΛݕग़͢Δํ๏ 2JJUB  IUUQTRJJUBDPNLB[VIJSPJUFNTFGECCFDBDFF

  26. IUUQTOBHPZBJPTNFFUVQDPOOQBTTDPN ݄ʹ/BHPZBJ04NFFUVQͷୈ̎ճΛ։࠵͢Δ༧ఆͳͷͰੋඇάϧʔϓʹ͝ࢀՃ͍ͩ͘͞ʂ એ఻

  27. ࢀߟࢿྉ w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