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

アラートなどの割り込み表示を制御する

 アラートなどの割り込み表示を制御する

37388695483b7c7d355cd9a9dc04281e?s=128

yuki tamazawa

December 15, 2021
Tweet

Transcript

  1. :VLJ5BNB[BXB%..J04.FFUVQ ΞϥʔτͳͲͷ ׂΓࠐΈදࣔΛ੍ޚ͢Δ -*'0͔Β'*'0΁ 

  2. ࢲʹ͍ͭͯ w ۄᖒ༟و w (JU)VCTSFB w ϓϥοτϑΥʔϜࣄۀຊ෦ w %..ϙΠϯτΫϥϒ w

    ೝূ4%, 
 
  IUUQTTQFBLFSEFDLDPNTSFB
  3. ׂΓࠐΈදࣔͱ͸ 

  4. ࣮૷ऀͷҙਤͳ͘ɺ Ϣʔβʔૢ࡞Λதஅͤͯ͞දࣔ͞ΕΔ΋ͷ 

  5. օ͞·ɺׂΓࠐ·ΕΔͷ޷͖Ͱ͔͢ʁ 

  6. ҙਤͤͣɺׂΓࠐΈ͕ൃੜ͍ͯ͠ͳ͍Ͱ͔͢ʁ 

  7. ΞϥʔτͳͲͷछྨʹ͍ͭͯ 

  8. ݖݶऔಘલͷ໨త௨஌ 

  9. ৽ػೳ΍֫ಘ௨஌ 

  10. ৽ػೳͳͲࠂ஌͕Ͱ͖ΔαʔϏε͸͍͔ͭ͋͘Δ w 'JSFCBTF*O"QQ.FTTBHJOH w 3FQSP w ,"35& w '"/4)*1 w

    FUDʜ 
  11. ͦͷଞ 

  12. ׂΓࠐΈදࣔͷ໰୊ͱ͸ 

  13. w Ϣʔβʔߦ͓͏ͱ͍ͯͨ͠ࣄΛڧ੍తʹதஅͤͯ͞͠·͏ w ೖྗ్த΍࡞ۀ్தʹׂΓࠐ·Εͯ࡞ۀঢ়ଶ͕ফ͑Δ w %..ϙΠϯτΫϥϒͰ͸ɺ 
 ΞϓϦىಈ࣌ʹॏͳΔέʔε͕͋Γ·ͨ͠ɻ ද͕ࣔॏͳΔ 

  14. දࣔʹࣦഊ͍ͯ͠Δ [Presentation] Attempt to present <UIAlertController> on <UIViewController> which is

    already presenting <UIViewController>. 
  15. ߟྀ͕೉͍͠৔໘͕͋Δ ϥΠϒϥϦଆͰ੍ޚ͞Ε͍ͯΔ৔߹΋͋Δɻ ͨͩ͠ɺෳ਺ϥΠϒϥϦΛ࢖͍ͬͯΔ৔߹ɺ ΞϓϦέʔγϣϯશମͰڠௐͨ͠ಈ࡞Λͤ͞ Δ͜ͱ͸࣮૷ऀʹҕͶΒΕΔɻ 

  16. "QQMFͷΨΠυϥΠϯΛ֬ೝ 

  17. .PEBMJUZ IUUQTEFWFMPQFSBQQMFDPNEFTJHOIVNBOJOUFSGBDFHVJEFMJOFTJPTBQQBSDIJUFDUVSFNPEBMJUZ w 6TFNPEBMJUZXIFOJUNBLFTTFOTF Ϟʔμϧମݧ͸ɺਓʑΛݱࡏͷঢ়گ͔Β཭୤ͤ͞ɺ 
 ղআ͢ΔͨΊͷΞΫγϣϯΛඞཁͱ͢ΔͨΊɺ 
 ໌֬ͳϝϦοτ͕͋Δ৔߹ʹͷΈ࢖༻͢Δ͜ͱ͕ॏཁͰ͢ɻ w

    3FTFSWFBMFSUTGPSEFMJWFSJOHFTTFOUJBMŠBOEJEFBMMZBDUJPOBCMFŠJOGPSNBUJPO Ξϥʔτ͸ݱࡏͷΤΫεϖϦΤϯεΛதஅ͠ɺ 
 ղআ͢ΔͨΊʹ͸λοϓ͕ඞཁͳͷͰɺ 
 ਓʑ͕ͦͷதஅ͕ਖ਼౰ͳ΋ͷͰ͋Δͱײ͡Δ͜ͱ͕ॏཁͰ͢ɻ 
  18. "MFSUT IUUQTEFWFMPQFSBQQMFDPNEFTJHOIVNBOJOUFSGBDFHVJEFMJOFTJPTWJFXTBMFSUT w .JOJNJ[FBMFSUT 69Λ્֐͢ΔͨΊɺॏཁͳ৘ใΛఏڙ͢ΔࡍʹͷΈ࢖༻͠ɺස౓Λ௿͘͢Δ͜ͱ͕ॏཁͰ͢ɻ 

  19. Ͳ͏ղܾ͢Δ͔ɻ 

  20. 6*Λݟ௚͢ w දࣔλΠϛϯάɺදࣔํ๏ͷݟ௚ͯ͠ɺׂΓࠐ·ͳ͍Α͏ʹௐ੔͢Δ w μΠΞϩάදࣔΛ΍Ίͯίϯςϯπ಺ʹ༹͚ࠐ·ͤΔ౳ w ࠜຊղܾΛ໨ࢦͤΔ͔΋ 

  21. ׂΓࠐΈΛ཈੍͢Δ w දࣔͨ͘͠ͳ͍λΠϛϯάʹ཈੍ w ࠜຊղܾͰ͸ͳ͍͔΋͠Εͳ͍͕ɺॏͳΔݱ৅͸ղܾͰ͖ͦ͏ 

  22. %..ϙΠϯτΫϥϒͰ͸ Ͳ͏ղܾ͔ͨ͠ 

  23. w Ϣʔβʔʹ͢Ͱʹఏ͍ࣔͯ͠ΔμΠΞϩάͳͲ͕͋ͬͨ৔߹ɺ 
 දࣔΛ଴ػ͢ΔػߏΛҰ෦ը໘ʹಋೖͨ͠ɻ w 'JSFCBTF*O"QQ.FTTBHJOHͷදࣔ6*ΛΧελϚΠζ͍ͯͨͨ͠Ίɺ 
 දࣔपΓΛࣗΒ࣮૷͢Δ͜ͱͰ͖ͨɻ w ؆қతͳରԠͰɺࣗΒද੍ࣔޚͰ͖ΔέʔεͷΈʹ༗ޮɻ

    w ࣮૷ίʔυ͸̑̌ߦఔ౓ ୯७ͳΩϡʔͷ࢓૊ΈͰରԠͨ͠ 
  24. ଞࣾࣄྫௐࠪ 

  25. "QQ4UPSFͰ΋ಉ༷ͷ໰୊Λݟ͔͚Δ w εΫγϣ͸షΕ·ͤΜ͕ɺ৭ʑݟ͚ͭ·ͨ͠ɻ w ଞͷΞϓϦͰ΋ྑ͋͘Δࣄ৅ͳΒɺ 
 ౿ΈࠐΜͰϑΥϩʔग़དྷͳ͍͔ݕ౼͠·ͨ͠ 

  26. ࣮ݧతʹ 044ϥΠϒϥϦΛ࡞੒ 

  27. 

  28. ϦϙδτϦʹ͍ͭͯ w (JU)VCͰެ։͍ͯ͠·͢ɻ w IUUQTHJUIVCDPNTSFB6*1SFTFOU$PPSEJOBUPS 

  29. ಛ௃ w ΞϥʔτදࣔͳͲ͸-*'0ʢελοΫʣͰ͸ͳ͘ɺ'*'0ʢΩϡʔʣͰ੍ޚ w 6*"MFSU$POUSPMMFSҎ֎ͷΫϥεʹ΋ରԠ 6*8JOEPX΋  w 4XJGU6*ΛҰ෦αϙʔτ w

    ֎෦ϥΠϒϥϦ΋੍ޚͰ͖ΔػߏΛ༻ҙ 
  30. 3 2 -*'0ͱ'*'0  1 2 3 1 3 2

    1 -*'0 4UBDL '*'0 2VFVF QSFTFOU 
  31. ࢖͍ํ खಈͷ৔߹ 6*,JU 

  32. ࢖͍ํ खಈͷ৔߹ 4XJGU6* 

  33. ࢖͍ํ ࣗಈͷ৔߹ ׂΓࠐΈΛ཈੍͢Δର৅ΫϥεΛఆٛ͢Δ 
 ΞϓϦέʔγϣϯશମͷ੍ޚ͕Մೳ 

  34. ࢖͍ํ දࣔΛதஅɾ࠶։͢Δ৔߹ 

  35. σϞ ̕ݸͷϘλϯΛԡԼ͠දࣔΛ2VFVFJOH͢Δɻ αεϖϯυΛղআͯ͠ɺॱʹॲཧΛ͍ͯ͘͠ɻ ͸2VFVFͷ਺ ˞'JSFCBTF*O"QQ.FTTBHJOH΋2VFVFʹೖΕͯ·͢ɻ 

  36. ग़དྷΔ w ΩϡʔͰׂΓࠐΈΛ੍ޚ w 6*,JU4XJGU6*αϙʔτ w ׂΓࠐΈର৅ͷ௥Ճ w 04੍ޚܥΞϥʔτ w

    ϓογϡڐ୚ w "55 w Ґஔ৘ใ  ग़དྷͳ͍
  37. ಺෦࣮૷ʹ͍ͭͯ w ࠓճ͸ׂѪ͠·͢ɻ w (JU)VCʹެ։͍ͯ͠ΔͨΊɺͥͻࢼͯ͠Έ͍ͯͩ͘͞ɻ w 1VMM3FRVFTU*TTVF׻ܴͰ͢ɻ w ʮ͜͏͍͏ϢʔεέʔεͰ࢖͑ͦ͏ɺ࢖͑ͳͦ͞͏ʂʯͳͲ͋Ε͹ੋඇڭ͑ͯ ͍ͩ͘͞ɻ

    
  38. ࠷ޙʹ💡 w ϥΠϒϥϦΛ࢖ͬͨͱͯ͠΋ΞϥʔτͳͲͷଟ༻͸ਪ঑͠·ͤΜɻ w ݱঢ়ͷׂΓࠐΈ͕ɺ69্ͷݒ೦͔Ͳ͏͔൑அ͢Δͱ͜Ζ͔Β࢝Ίɺ 
 ඞཁʹԠͯ͡ΨΠυϥΠϯʹԊͬͨඞཁ࠷௿ݶͷׂΓࠐΈΛߦ͍ɺ 
 Ϣʔβʔͷૢ࡞ͷअຐΛ͠ͳ͍Α͏ઃܭ͠·͠ΐ͏ɻ 

  39. ׂΓࠐΈ͸ूத͢ΔͨΊʹཁͨ࣌ؒ͠ͱ ࠶ͼूத͢Δͷʹඞཁͳ࣌ؒΛୣ͍ͬͯ͘