{"id":1366,"date":"2019-11-29T22:50:30","date_gmt":"2019-11-29T21:50:30","guid":{"rendered":"http:\/\/www.albertopasca.it\/whiletrue\/?p=1366"},"modified":"2023-06-26T16:03:22","modified_gmt":"2023-06-26T14:03:22","slug":"swift-use-replaykit-to-record-a-movie-from-your-app","status":"publish","type":"post","link":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/","title":{"rendered":"Swift &#8211; Use ReplayKit to record a movie from your app"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Today I want to show you how to use the Apple <strong>ReplayKit<\/strong>, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"500\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png?resize=281%2C500&#038;ssl=1\" alt=\"\" class=\"wp-image-1390\" srcset=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png?w=281&amp;ssl=1 281w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png?resize=169%2C300&amp;ssl=1 169w\" sizes=\"auto, (max-width: 281px) 100vw, 281px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Let&#8217;s start!<\/h2>\n\n\n\n<!--more-->\n\n\n\n<pre class=\"wp-block-preformatted\">import ReplayKit<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And add the <strong>RPScreenRecorder<\/strong> shared instance:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">class YourViewController: UIViewController {\n\n    let recorder = RPScreenRecorder.shared()\n\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And the delegate callback for finish movie preview:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">extension ViewController : RPPreviewViewControllerDelegate {\n\n    func previewControllerDidFinish(_ previewController: RPPreviewViewController) {\n        previewController.dismiss(animated: true, completion: nil)\n    }\n\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Start and stop the recording<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can add a button event, a networking event, whatever you prefer to start and stop your registration. For simplicity I&#8217;ve added a <strong>Long press gesture<\/strong> recognition and a start-stop method:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">func setUpLongPressGestureRecognizer() {\n    let longPressGesture = UILongPressGestureRecognizer.init(target: self, action: #selector(longPressAction(sender:)))\n    longPressGesture.minimumPressDuration = 0.5\n    longPressGesture.delaysTouchesBegan = true\n\n    self.view.addGestureRecognizer(longPressGesture)\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">@objc func longPressAction(sender: UILongPressGestureRecognizer) {\n    AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate))\n    self.recording(state: sender.state == .began)\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve added also the <strong>AudioServicesPlayAlertSound<\/strong> just for vibration feedback on start\/stop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember to import <strong>AudioToolbox<\/strong> if you want to use vibration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your recording method becomes like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"swift\" class=\"language-swift\">func recording(state: Bool) {\n    if state {\n        guard recorder.isAvailable else { return }\n        recorder.startRecording{ (error) in\n            guard error == nil else { return }\n        }\n    } else {\n        recorder.stopRecording { (preview, error) in\n            guard let preview = preview else { return }\n\n            preview.modalPresentationStyle = .automatic\n            preview.previewControllerDelegate = self\n\n            self.present(preview, animated: true, completion: nil)\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Whereof course &#8220;<strong>recorder.startRecording<\/strong>&#8221; start recording the movie and &#8220;<strong>recorder.stopRecording<\/strong>&#8221; stop the movie and show a preview with <strong>RPPreviewViewController.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"500\" src=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-end.png?resize=281%2C500&#038;ssl=1\" alt=\"\" class=\"wp-image-1391\" srcset=\"https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-end.png?w=281&amp;ssl=1 281w, https:\/\/i0.wp.com\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-end.png?resize=169%2C300&amp;ssl=1 169w\" sizes=\"auto, (max-width: 281px) 100vw, 281px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The delegate created before, close this preview controller if is showed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Full code can be downloaded here:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/elpsk\/ReplayKit\">https:\/\/github.com\/elpsk\/ReplayKit<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I want to show you how to use the Apple ReplayKit, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that. Let&#8217;s start!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11,2,3],"tags":[780,692,781,779],"class_list":["post-1366","post","type-post","status-publish","format-standard","hentry","category-mobile","category-objectivec","category-swift","tag-movie","tag-record","tag-replay","tag-replaykit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}\" \/>\n<meta property=\"og:description\" content=\"Today I want to show you how to use the Apple ReplayKit, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that. Let&#8217;s start!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/\" \/>\n<meta property=\"og:site_name\" content=\"while (true) {\u00a0}\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-29T21:50:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-26T14:03:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png\" \/>\n<meta name=\"author\" content=\"Alberto Pasca\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lupasca\" \/>\n<meta name=\"twitter:site\" content=\"@lupasca\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alberto Pasca\" \/>\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:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/\"},\"author\":{\"name\":\"Alberto Pasca\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"headline\":\"Swift &#8211; Use ReplayKit to record a movie from your app\",\"datePublished\":\"2019-11-29T21:50:30+00:00\",\"dateModified\":\"2023-06-26T14:03:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/\"},\"wordCount\":177,\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"image\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/app-record-start.png\",\"keywords\":[\"movie\",\"record\",\"replay\",\"ReplayKit\"],\"articleSection\":[\"mobile\",\"objectivec\",\"swift\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/\",\"name\":\"Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/app-record-start.png\",\"datePublished\":\"2019-11-29T21:50:30+00:00\",\"dateModified\":\"2023-06-26T14:03:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/app-record-start.png\",\"contentUrl\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/app-record-start.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/swift-use-replaykit-to-record-a-movie-from-your-app\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Swift &#8211; Use ReplayKit to record a movie from your app\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#website\",\"url\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/\",\"name\":\"while (true) {\u00a0}\",\"description\":\"notes from a developer, tutorials, how-to, ideas\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.albertopasca.it\\\/whiletrue\\\/#\\\/schema\\\/person\\\/d3cf0df774eb4aac797f246a795e9fac\",\"name\":\"Alberto Pasca\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\",\"caption\":\"Alberto Pasca\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g\"},\"description\":\"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.\",\"sameAs\":[\"https:\\\/\\\/www.albertopasca.it\",\"albertopasca\",\"https:\\\/\\\/x.com\\\/lupasca\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}","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:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/","og_locale":"en_US","og_type":"article","og_title":"Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}","og_description":"Today I want to show you how to use the Apple ReplayKit, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that. Let&#8217;s start!","og_url":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/","og_site_name":"while (true) {\u00a0}","article_published_time":"2019-11-29T21:50:30+00:00","article_modified_time":"2023-06-26T14:03:22+00:00","og_image":[{"url":"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png","type":"","width":"","height":""}],"author":"Alberto Pasca","twitter_card":"summary_large_image","twitter_creator":"@lupasca","twitter_site":"@lupasca","twitter_misc":{"Written by":"Alberto Pasca","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#article","isPartOf":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/"},"author":{"name":"Alberto Pasca","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"headline":"Swift &#8211; Use ReplayKit to record a movie from your app","datePublished":"2019-11-29T21:50:30+00:00","dateModified":"2023-06-26T14:03:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/"},"wordCount":177,"publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"image":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png","keywords":["movie","record","replay","ReplayKit"],"articleSection":["mobile","objectivec","swift"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/","url":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/","name":"Swift - Use ReplayKit to record a movie from your app - while (true) {\u00a0}","isPartOf":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#primaryimage"},"image":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#primaryimage"},"thumbnailUrl":"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png","datePublished":"2019-11-29T21:50:30+00:00","dateModified":"2023-06-26T14:03:22+00:00","breadcrumb":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#primaryimage","url":"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png","contentUrl":"https:\/\/www.albertopasca.it\/whiletrue\/wp-content\/uploads\/2019\/11\/app-record-start.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.albertopasca.it\/whiletrue\/swift-use-replaykit-to-record-a-movie-from-your-app\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albertopasca.it\/whiletrue\/"},{"@type":"ListItem","position":2,"name":"Swift &#8211; Use ReplayKit to record a movie from your app"}]},{"@type":"WebSite","@id":"https:\/\/www.albertopasca.it\/whiletrue\/#website","url":"https:\/\/www.albertopasca.it\/whiletrue\/","name":"while (true) {\u00a0}","description":"notes from a developer, tutorials, how-to, ideas","publisher":{"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albertopasca.it\/whiletrue\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.albertopasca.it\/whiletrue\/#\/schema\/person\/d3cf0df774eb4aac797f246a795e9fac","name":"Alberto Pasca","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g","caption":"Alberto Pasca"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/4d8fe43c412d0bb34a71c41f60dce53eff3afc027853cbfd20bee6ddc7e93f35?s=96&d=retro&r=g"},"description":"Software engineer @ Pirelli &amp; C. S.p.A. with a strong passion for mobile \uf8ff development, security, and connected things.","sameAs":["https:\/\/www.albertopasca.it","albertopasca","https:\/\/x.com\/lupasca"]}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/comments?post=1366"}],"version-history":[{"count":27,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1366\/revisions"}],"predecessor-version":[{"id":3408,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/posts\/1366\/revisions\/3408"}],"wp:attachment":[{"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/media?parent=1366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/categories?post=1366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopasca.it\/whiletrue\/wp-json\/wp\/v2\/tags?post=1366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}