{"id":7113,"date":"2014-12-18T13:34:18","date_gmt":"2014-12-18T13:34:18","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/resources\/?p=7113"},"modified":"2015-06-12T09:38:48","modified_gmt":"2015-06-12T09:38:48","slug":"background-fetch-ios","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios","title":{"rendered":"Implementing Background Fetch in iOS"},"content":{"rendered":"<p>Background Fetch is one of the most impressive features released with iOS 7. It basically works in the same lines of a default traffic application. I am here to explain how to make your app work in the background using Background Fetch. Before we begin with the actual tutorial, let me walk you through the various background modes available for iOS apps.<\/p>\n<p><strong>Audio:<\/strong> The app has the ability to record and\/or play audio in background.<\/p>\n<p><strong>Location Updates:<\/strong> Getting device locations while the app is in background is another feature.<\/p>\n<p><strong>VOIP (Voice Over Internet Protocol):<\/strong> The app can make video calls over Internet connection.<\/p>\n<p><strong>Newsstand Updates:<\/strong> These are specific to Newsstand apps that download and processes magazine or newspaper content in the background.<\/p>\n<p><strong>Background fetch:<\/strong> The app regularly downloads and processes small amounts of content from the network.<\/p>\n<p>Apart from the above modes there is External accessory communication, Bluetooth accessory communication, which any app should support in order to function in the background.<\/p>\n<p>In addition, every app has some extra time that iOS offers to resolve certain unfinished business before the app goes into suspended mode. For iOS 7 the time has been reduced to around 180 secs (3 mins); earlier it was around 600 secs (10 minutes).<\/p>\n<p>To earn extra time we need to initialize <strong>UIBackgroundTaskIdentifier<\/strong><\/p>\n<pre class=\"mb40\">-(void) beginBackgroundUploadTask\n{\n    if(self.backgroundTask != UIBackgroundTaskInvalid)\n    {\n        [self endBackgroundUploadTask];\n    }\n    \n    self.backgroundTask = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{\n        \n        [self endBackgroundUploadTask];\n        \n    }];\n}\n<\/pre>\n<p>Once the background task runs out of time from the stipulated allotted time, we should invalidate and end the background task.<\/p>\n<pre class=\"mb40\">-(void) endBackgroundUploadTask\n{\n    [[UIApplication sharedApplication] endBackgroundTask:self.backgroundTask ];\n    self. backgroundTask = UIBackgroundTaskInvalid;\n}\n<\/pre>\n<p><strong>Background Fetch:<\/strong><br>\nNow let\u2019s see how to support Background Fetch in any iOS app. Please follow the below mentioned steps.<\/p>\n<p><strong>1.<\/strong> Enable Background Modes in Xcode \u2192 Select Project File \u2192 Capabilities \u2192 Check the Background fetch checkbox.<\/p>\n<p><noscript><img decoding=\"async\" width=\"1390\" height=\"552\" class=\"aligncenter img-responsive size-full wp-image-7115\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\" alt=\"background-fetch\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png 1390w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-300x119.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-1024x407.png 1024w\" sizes=\"(max-width: 1390px) 100vw, 1390px\"><\/noscript><img decoding=\"async\" width=\"1390\" height=\"552\" class=\"aligncenter img-responsive size-full wp-image-7115 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201390%20552%22%3E%3C%2Fsvg%3E\" alt=\"background-fetch\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201390%20552%22%3E%3C%2Fsvg%3E 1390w\" sizes=\"(max-width: 1390px) 100vw, 1390px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png 1390w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-300x119.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-1024x407.png 1024w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\"><\/p>\n<p><strong>2.<\/strong> After you enable Background fetch, the background fetch interval must be set. It is by default set to <strong>UIApplicationBackgroundFetchIntervalNever;<\/strong> we need to set it to <strong>UIApplicationBackgroundFetchIntervalMinimum<\/strong><\/p>\n<pre class=\"mb40\"> - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    \/\/ Override point for customization after application launch.\n    \n    \/\/ Set Minimum Background Fetch Inteval \/\/\n    if(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@\"7.0\"))\n    {\n        [[UIApplication sharedApplication]\n         setMinimumBackgroundFetchInterval:\n         UIApplicationBackgroundFetchIntervalMinimum];\n    }\n    \n    return YES;\n}\n<\/pre>\n<p><strong>3.<\/strong> Once background fetch is properly configured, the applications <strong>performFetchWithCompletionHandler<\/strong> delegate method is called for each fetch.<\/p>\n<p>Please write down the below mentioned method in your AppDelegate.m file.<\/p>\n<pre class=\"mb40\">-(void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler\n{\n    completionHandler(UIBackgroundFetchResultNewData);\n\n}\n<\/pre>\n<p>This method is called whenever background fetch is triggered. We need to specify the completionHandler with following parameters: For success <strong>UIBackgroundFetchResultNewData,<\/strong> for failure <strong>UIBackgroundFetchResultFailed<\/strong> and in case of no change in the data contents <strong>UIBackgroundFetchResultNoData<\/strong><\/p>\n<p><strong>4.<\/strong> You can simulate background fetch on iOS Simulator, Xcode \u2192 Debug \u2192 Simulate Background Fetch.<\/p>\n<p><noscript><img decoding=\"async\" width=\"1078\" height=\"526\" class=\"aligncenter img-responsive size-full wp-image-7116\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch.png\" alt=\"simulate-background-fetch\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch.png 1078w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch-300x146.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch-1024x499.png 1024w\" sizes=\"(max-width: 1078px) 100vw, 1078px\"><\/noscript><img decoding=\"async\" width=\"1078\" height=\"526\" class=\"aligncenter img-responsive size-full wp-image-7116 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201078%20526%22%3E%3C%2Fsvg%3E\" alt=\"simulate-background-fetch\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201078%20526%22%3E%3C%2Fsvg%3E 1078w\" sizes=\"(max-width: 1078px) 100vw, 1078px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch.png 1078w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch-300x146.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch-1024x499.png 1024w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/simulate-background-fetch.png\"><\/p>\n<p><strong>5.<\/strong> To Enable Background Fetch on iOS Simulator Go to Xcode \u2192 Product \u2192 Scheme \u2192 Edit Scheme \u2192 Options \u2192 Check the Enable Background fetch checkbox.<\/p>\n<p><noscript><img decoding=\"async\" class=\"img-responsive aligncenter size-full wp-image-7117\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial.png\" alt=\"background-fetch-tutorial\" width=\"885\" height=\"577\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial.png 885w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial-300x195.png 300w\" sizes=\"(max-width: 885px) 100vw, 885px\"><\/noscript><img decoding=\"async\" class=\"img-responsive aligncenter size-full wp-image-7117 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20885%20577%22%3E%3C%2Fsvg%3E\" alt=\"background-fetch-tutorial\" width=\"885\" height=\"577\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20885%20577%22%3E%3C%2Fsvg%3E 885w\" sizes=\"(max-width: 885px) 100vw, 885px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial.png 885w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial-300x195.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch-tutorial.png\"><\/p>\n<p>I have developed a sample app that fetches temperature every 10 secs from the OpenWeather.com. You can also manually simulate background fetch by following Step 5.<\/p>\n<p>Download Source code <a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/BackgroundFetchTutorial.zip\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background Fetch is one of the most impressive features released with iOS 7. It basically works in the same lines of a default traffic application. I am here to explain how to make your app work in the background using Background Fetch. Before we begin with the actual tutorial, let me walk you through the [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[450],"tags":[454,455],"class_list":["post-7113","post","type-post","status-publish","format-standard","hentry","category-mguide","tag-background-fetch-in-ios","tag-ios-background-fetch-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Implementing Background Fetch in iOS - Mobisoft<\/title>\n<meta name=\"description\" content=\"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Implementing Background Fetch in iOS - Mobisoft\" \/>\n<meta property=\"og:description\" content=\"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-18T13:34:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-12T09:38:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\" \/>\n<meta name=\"author\" content=\"Prashant Telangi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prashant Telangi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\"},\"author\":{\"name\":\"Prashant Telangi\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\"},\"headline\":\"Implementing Background Fetch in iOS\",\"datePublished\":\"2014-12-18T13:34:18+00:00\",\"dateModified\":\"2015-06-12T09:38:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\"},\"wordCount\":424,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\",\"keywords\":[\"Background fetch in iOS\",\"iOS Background fetch Tutorial\"],\"articleSection\":[\"MGuide\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\",\"name\":\"Implementing Background Fetch in iOS - Mobisoft\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\",\"datePublished\":\"2014-12-18T13:34:18+00:00\",\"dateModified\":\"2015-06-12T09:38:48+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\"},\"description\":\"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png\",\"width\":1390,\"height\":552},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Implementing Background Fetch in iOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\",\"name\":\"Prashant Telangi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"caption\":\"Prashant Telangi\"},\"sameAs\":[\"http:\/\/www.mobisoftinfotech.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Implementing Background Fetch in iOS - Mobisoft","description":"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios","og_locale":"en_US","og_type":"article","og_title":"Implementing Background Fetch in iOS - Mobisoft","og_description":"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios","og_site_name":"Mobisoft Infotech","article_published_time":"2014-12-18T13:34:18+00:00","article_modified_time":"2015-06-12T09:38:48+00:00","og_image":[{"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png","type":"","width":"","height":""}],"author":"Prashant Telangi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prashant Telangi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios"},"author":{"name":"Prashant Telangi","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070"},"headline":"Implementing Background Fetch in iOS","datePublished":"2014-12-18T13:34:18+00:00","dateModified":"2015-06-12T09:38:48+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios"},"wordCount":424,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png","keywords":["Background fetch in iOS","iOS Background fetch Tutorial"],"articleSection":["MGuide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios","url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios","name":"Implementing Background Fetch in iOS - Mobisoft","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png","datePublished":"2014-12-18T13:34:18+00:00","dateModified":"2015-06-12T09:38:48+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070"},"description":"Learn more with the help of a detailed tutorial on how to make your iOS apps function smoothly in the background using Background Fetch.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2014\/12\/background-fetch.png","width":1390,"height":552},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/background-fetch-ios#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Implementing Background Fetch in iOS"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070","name":"Prashant Telangi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","caption":"Prashant Telangi"},"sameAs":["http:\/\/www.mobisoftinfotech.com"]}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/7113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=7113"}],"version-history":[{"count":25,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/7113\/revisions"}],"predecessor-version":[{"id":7864,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/7113\/revisions\/7864"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=7113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=7113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=7113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}