Swfitã®ç·´ç¿ã®ããã«iBeaconã®ãµã³ãã«ä½ã£ã¦ç·´ç¿ãã¦ã¿ã¾ããã iBeaconãããã¯ã°ã©ã¦ã³ãã§ãåä¿¡ãããã¤ã³ãã¯ã Info.plistã«NSLocationAlwaysUsageDescriptionã追å Capabilitiesã§Background Modesã§ã®ä½ç½®æ å ±ã®æ´æ°ã®è¨å®ã追å ããã¯ã°ã©ã³ãæã«ã¯ä½ç½®æ å ±æ´æ°ããã // ã¢ããªãããã¯ã°ã©ã¦ã³ãç¶æ ã®å ´åã¯ä½ç½®æ å ±ã®ããã¯ã°ã©ã¦ã³ãæ´æ°ããã // ãããããªãã¨iBeaconã®ç¯å²ã«å ¥ã£ããå ¥ã£ã¦ããªããæ¤ç¥ãã¦ãããªã let appStatus = UIApplication.sharedApplication().applicationState let isBackground = appStatus == .Background || appStatus == .Inactive if i
{{#tags}}- {{label}}
{{/tags}}