{"id":5787,"date":"2022-05-11T10:08:27","date_gmt":"2022-05-11T02:08:27","guid":{"rendered":"http:\/\/123.57.164.21\/?p=5787"},"modified":"2022-05-11T21:27:07","modified_gmt":"2022-05-11T13:27:07","slug":"swift-%e9%99%80%e8%9e%ba%e4%bb%aa%e6%95%b0%e6%8d%ae%e7%9a%84%e8%8e%b7%e5%8f%96%ef%bc%88%e9%99%84%e6%a0%b7%e4%be%8b%ef%bc%89","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=5787","title":{"rendered":"Swift &#8211; \u9640\u87ba\u4eea\u6570\u636e\u7684\u83b7\u53d6\uff08\u9644\u6837\u4f8b\uff09"},"content":{"rendered":"\n<p>\u4f7f\u7528 <strong>CoreMotion <\/strong>\u6846\u67b6\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u83b7\u53d6\u8bbe\u5907\u5404\u79cd\u4f20\u611f\u5668\u7684\u6570\u636e\uff08\u6bd4\u5982\uff1a\u52a0\u901f\u5668\u3001\u9640\u87ba\u4eea\u3001\u78c1\u529b\u8ba1\uff09\u3002\u5173\u4e8e\u52a0\u901f\u5668\u4e4b\u524d\u5df2\u7ecf\u5199\u8fc7\u76f8\u5173\u6587\u7ae0\u4e86\uff08<a rel=\"noreferrer noopener\" href=\"https:\/\/www.hangge.com\/blog\/cache\/detail_545.html\" target=\"_blank\">Swift &#8211; \u52a0\u901f\u4f20\u611f\u5668\uff08CoreMotion\uff09\u7684\u7528\u6cd5<\/a>\uff09\uff0c\u672c\u6587\u8bb2\u8bb2\u5982\u4f55\u83b7\u53d6\u9640\u87ba\u4eea\uff08\u87ba\u65cb\u4eea\uff09\u76f8\u5173\u6570\u636e\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-1024x218.png\" alt=\"\" class=\"wp-image-5828\" width=\"680\" height=\"144\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-1024x218.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-300x64.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-768x163.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-830x177.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-230x49.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-350x74.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54-480x102.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-54.png 1514w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure><\/div>\n\n\n\n<h6 class=\"wp-block-heading\"><br>\u4e00\u3001\u9640\u87ba\u4eea\u4ecb\u7ecd<\/h6>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u901a\u8fc7\u9640\u87ba\u4eea\u6211\u4eec\u80fd\u591f\u611f\u77e5\u8bbe\u5907\u7684\u63e1\u6301\u65b9\u5f0f\uff0c\u8fd9\u4e2a\u5728\u4e00\u4e9b\u8d5b\u8f66\u7c7b\u7684\u6e38\u620f\u4e2d\u5e38\u5e38\u4f1a\u7528\u5230\u3002 \u9640\u87ba\u4eea\u4e0e\u52a0\u901f\u8ba1\u7684\u533a\u522b\u5728\u4e8e\uff1a\u5728\u9759\u6b62\u65f6\uff0c\u9640\u87ba\u4eea\u7684\u6bcf\u4e2a\u8f74\u7684\u6570\u636e\u90fd\u4e3a <strong>0<\/strong>\u3002\u4f46\u662f\u52a0\u901f\u8ba1\u5219\u6839\u636e\u624b\u673a\u7684\u6446\u653e\u4f4d\u7f6e\uff0c<strong>xyz <\/strong>\u7684\u6bcf\u4e2a\u8f74\u7684\u6570\u4e5f\u4f1a\u4e0d\u4e00\u6837\u3002<\/p>\n\n\n\n<p><strong>1 x\u3001y\u3001z\u8f74<\/strong><\/p>\n\n\n\n<p>\u52a0\u901f\u5668\u548c\u9640\u87ba\u4eea\u6570\u636e\u4ee5 <strong>iOS <\/strong>\u8bbe\u5907\u4e0a<strong> 3<\/strong> \u7ef4\u5750\u6807\u6765\u5c55\u793a\u3002 <\/p>\n\n\n\n<ul><li>\uff081\uff09\u5bf9\u4e8e <strong>iphone <\/strong>\u624b\u673a\u6765\u8bf4\uff0c\u753b\u9762\u4e0a\u4e0b\u4e3a <strong>y <\/strong>\u8f74\uff0c\u5de6\u53f3\u4e3a <strong>x<\/strong> \u8f74\uff0c\u8d2f\u7a7f\u5c4f\u5e55\u4e3a <strong>z<\/strong> \u8f74\u3002 <\/li><li>\uff082\uff09\u5411\u4e0a\uff0c\u5411\u53f3\uff0c\u624b\u673a\u7684\u524d\u9762\u5206\u522b\u662f\u5404\u8f74\u7684\u6b63\u65b9\u5411\u3002<br><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49.png\" alt=\"\" class=\"wp-image-5838\" width=\"477\" height=\"406\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49.png 918w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-300x256.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-768x654.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-830x707.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-230x196.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-350x298.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u622a\u5c4f2022-05-11-21.25.49-480x409.png 480w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/figure><\/div>\n\n\n\n<p>\u5305\u542b\u4e0b\u9762\u56db\u79cd\u6570\u636e\uff1a<\/p>\n\n\n\n<ul><li><code>attitude<\/code>(\u7c7b\u578b\uff1aCMAttitude)<ul><li>\u8fd4\u56de\u8bbe\u5907\u7684\u65b9\u4f4d\u4fe1\u606f\uff0c\u5305\u542broll \u3001pitch\u3001yaw\u4e09\u4e2a\u6b27\u62c9\u89d2\u7684\u503c<\/li><li><code>roll<\/code>: \u8bbe\u5907\u7ed5 Z \u8f74\u8f6c\u8fc7\u7684\u89d2\u5ea6<\/li><li><code>pitch<\/code>: \u8bbe\u5907\u7ed5 X \u8f74\u8f6c\u8fc7\u7684\u89d2\u5ea6<\/li><li><code>yaw<\/code>: \u8bbe\u5907\u7ed5 Y \u8f74\u8f6c\u8fc7\u7684\u89d2\u5ea6<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul><li><code>rotationRate<\/code>(\u7c7b\u578b\uff1aCMRotationRate)<ul><li>\u7ecf\u8fc7\u6ee4\u6ce2\u64cd\u4f5c\u4e4b\u540e\u7684\u9640\u87ba\u4eea\u6570\u636e\uff0c\u5373 \u9759\u6b62\u65f6\uff0c\u4e09\u4e2a\u65b9\u5411\u7684\u8f6c\u52a8\u901f\u5ea6\u63a5\u8fd1\u4e8e0\uff1b<\/li><\/ul><\/li><li><code>gravity<\/code>(\u7c7b\u578b\uff1aCMAcceleration)<ul><li>\u8fd4\u56de\u91cd\u529b\u5bf9\u8bbe\u5907\u5728\u4e09\u4e2a\u65b9\u5411\u4e0a\u7684\u52a0\u901f\u5ea6<\/li><li>\u5373\u91cd\u529b\u52a0\u901f\u5ea6\u77e2\u91cf\u5728\u5f53\u524d\u8bbe\u5907\u7684\u53c2\u8003\u5750\u6807\u7cfb\u4e2d\u7684\u8868\u8fbe\uff0c\u5f00\u53d1\u4e2d\u4e0d\u518d\u9700\u8981\u901a\u8fc7\u6ee4\u6ce2\u6765\u63d0\u53d6\u8fd9\u4e2a\u4fe1\u606f<\/li><\/ul><\/li><li><code>userAcceleration<\/code>(\u7c7b\u578b\uff1aCMAcceleration)<ul><li>\u8fd4\u56de\u7528\u6237\u5bf9\u8bbe\u5907\u5728\u4e09\u4e2a\u65b9\u5411\u4e0a\u7684\u52a0\u901f\u5ea6<\/li><li>\u4e0d\u518d\u9700\u8981\u6ee4\u6ce2\uff0c\u4f46\u6839\u636e\u7a0b\u5e8f\u9700\u6c42\u800c\u52a0\u7684\u6ee4\u6ce2\u7b97\u6cd5\u53ef\u4ee5\u4fdd\u7559<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>2 CMMotionManager\u7c7b<\/strong><\/p>\n\n\n\n<p>\uff081\uff09\u901a\u8fc7 <strong>CMMotionManager <\/strong>\u7c7b\u6211\u4eec\u53ef\u4ee5\u83b7\u53d6\u5230\u52a0\u901f\u5668\uff0c\u9640\u87ba\u4eea\uff0c\u78c1\u529b\u4eea\uff0c\u4f20\u611f\u5668\u8fd9<strong>4<\/strong>\u7c7b\u6570\u636e\uff0c\u540c\u65f6\u5b83\u4eec\u7684\u63a5\u53e3\u662f\u4e00\u81f4\u7684\u3002 <\/p>\n\n\n\n<p>\uff082\uff09<strong>CMMotionManager <\/strong>\u540c\u65f6\u63d0\u4f9b\u4e86&#8221;<strong>\u62c9<\/strong>&#8220;\u548c&#8221;<strong>\u63a8<\/strong>&#8220;\u4e24\u79cd\u65b9\u5f0f\u7684\u83b7\u53d6\u65b9\u5f0f\u3002\u4e8c\u8005\u533a\u522b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul><li>\u901a\u8fc7\u83b7\u53d6\u5f53\u524d\u4efb\u4f55\u4f20\u611f\u5668\u7684\u72b6\u6001\u6216\u8005&nbsp;<strong>CoreMotionManager <\/strong>\u7684\u53ea\u8bfb\u5c5e\u6027\u7ec4\u5408\u6570\u636e\u6765\u201c<strong>\u62c9<\/strong>\u201d\u52a8\u6001\u6570\u636e\u3002<\/li><li>\u901a\u8fc7 <strong>block <\/strong>\u95ed\u5305\u5728\u7279\u5b9a\u7684\u65f6\u95f4\u95f4\u9694\u6765\u83b7\u53d6\u6211\u4eec\u60f3\u8981\u7684\u66f4\u65b0\u6570\u636e\u96c6\u5408\u6765\u6355\u83b7\u201c<strong>\u63a8<\/strong>\u201d\u6570\u636e\u3002<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\">\u4e8c\u3001\u4f7f\u7528\u6837\u4f8b<\/h6>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>1 \u9700\u8981\u7684\u65f6\u5019\u624d\u53bb\u91c7\u96c6\u6570\u636e<\/strong><\/p>\n\n\n\n<p>\uff081\uff09\u6548\u679c\u56fe \u8fd9\u4e2a\u4fbf\u662f\u524d\u9762\u8bb2\u7684\u62c9\u6570\u636e\uff08<strong>pull<\/strong>\uff09\u3002\u6211\u4eec\u6bcf\u6b21\u70b9\u51fb\u201c<strong>\u83b7\u53d6\u6570\u636e<\/strong>\u201d\u6309\u94ae\u540e\uff0c\u4fbf\u53bb\u53d6\u5f53\u524d\u9640\u87ba\u4eea\u7684\u6570\u636e\u5e76\u663e\u793a\u51fa\u6765\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-1024x552.png\" alt=\"\" class=\"wp-image-5790\" width=\"495\" height=\"266\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-1024x552.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-300x162.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-768x414.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-830x447.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-230x124.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-350x189.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36-480x259.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-36.png 1244w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/figure><\/div>\n\n\n\n<p>\uff082\uff09\u6837\u4f8b\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import UIKit\nimport CoreMotion\n \nclass ViewController: UIViewController {\n    \/\/\u7528\u4e8e\u663e\u793a\u6570\u636e\u4fe1\u606f\n    @IBOutlet weak var textView: UITextView!\n     \n    \/\/\u8fd0\u52a8\u7ba1\u7406\u5668\n    let motionManager = CMMotionManager()\n     \n    override func viewDidLoad() {\n        super.viewDidLoad()\n \n    }\n     \n    \/\/\u70b9\u51fb\u83b7\u53d6\u5f53\u524d\u9640\u87ba\u4eea\u6570\u636e\n    @IBAction func getGyroData(_ sender: Any) {\n        \/\/\u5224\u65ad\u8bbe\u5907\u652f\u6301\u60c5\u51b5\n        guard motionManager.isGyroAvailable else {\n            self.textView.text = \"\\n\u5f53\u524d\u8bbe\u5907\u4e0d\u652f\u6301\u9640\u87ba\u4eea\\n\"\n            return\n        }\n         \n        \/\/\u83b7\u53d6\u6570\u636e\n        self.motionManager.startGyroUpdates()\n        if let gyroData = self.motionManager.gyroData {\n            let rotationRate = gyroData.rotationRate\n            var text = \"---\u5f53\u524d\u9640\u87ba\u4eea\u6570\u636e---\\n\"\n            text += \"x: \\(rotationRate.x)\\n\"\n            text += \"y: \\(rotationRate.y)\\n\"\n            text += \"z: \\(rotationRate.z)\\n\"\n            self.textView.text = text\n        }\n    }\n \n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n    }\n}<\/pre>\n\n\n\n<p><strong>2 \u5b9e\u65f6\u91c7\u96c6\u6240\u6709\u6570\u636e<\/strong><\/p>\n\n\n\n<p>\uff081\uff09\u6548\u679c\u56fe<br>\u8fd9\u4e2a\u4fbf\u662f\u524d\u9762\u8bb2\u7684\u63a8\u6570\u636e\uff08<strong>push<\/strong>\uff09\u3002\u6839\u636e\u6211\u4eec\u8bbe\u7f6e\u7684\u91c7\u96c6\u9891\u7387\uff08\u901a\u77e5\u9891\u7387\uff09\u6765\u4e0d\u65ad\u5730\u83b7\u53d6\u6700\u65b0\u6570\u636e\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-1024x451.png\" alt=\"\" class=\"wp-image-5791\" width=\"547\" height=\"240\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-1024x451.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-300x132.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-768x338.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-830x366.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-230x101.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-350x154.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37-480x211.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2022\/05\/\u56fe\u7247-37.png 1244w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/figure><\/div>\n\n\n\n<p>\uff082\uff09\u6837\u4f8b\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import UIKit\nimport CoreMotion\n \nclass ViewController: UIViewController {\n    \/\/\u7528\u4e8e\u663e\u793a\u5b9e\u65f6\u4fe1\u606f\n    @IBOutlet weak var textView: UITextView!\n     \n    \/\/\u8fd0\u52a8\u7ba1\u7406\u5668\n    let motionManager = CMMotionManager()\n     \n    \/\/\u5237\u65b0\u65f6\u95f4\u95f4\u9694\n    let timeInterval: TimeInterval = 0.2\n     \n    override func viewDidLoad() {\n        super.viewDidLoad()\n \n        \/\/\u5f00\u59cb\u9640\u87ba\u4eea\u66f4\u65b0\n        startGyroUpdates()\n    }\n     \n    \/\/ \u5f00\u59cb\u83b7\u53d6\u9640\u87ba\u4eea\u6570\u636e\n    func startGyroUpdates() {\n        \/\/\u5224\u65ad\u8bbe\u5907\u652f\u6301\u60c5\u51b5\n        guard motionManager.isGyroAvailable else {\n            self.textView.text = \"\\n\u5f53\u524d\u8bbe\u5907\u4e0d\u652f\u6301\u9640\u87ba\u4eea\\n\"\n            return\n        }\n         \n        \/\/\u8bbe\u7f6e\u5237\u65b0\u65f6\u95f4\u95f4\u9694\n        self.motionManager.gyroUpdateInterval = self.timeInterval\n         \n        \/\/\u5f00\u59cb\u5b9e\u65f6\u83b7\u53d6\u6570\u636e\n        let queue = OperationQueue.current\n        self.motionManager.startGyroUpdates(to: queue!, withHandler: { (gyroData, error) in\n            guard error == nil else {\n                print(error!)\n                return\n            }\n            \/\/ \u6709\u66f4\u65b0\n            if self.motionManager.isGyroActive {\n                if let rotationRate = gyroData?.rotationRate {\n                    var text = \"---\u5f53\u524d\u9640\u87ba\u4eea\u6570\u636e---\\n\"\n                    text += \"x: \\(rotationRate.x)\\n\"\n                    text += \"y: \\(rotationRate.y)\\n\"\n                    text += \"z: \\(rotationRate.z)\\n\"\n                    self.textView.text = text\n                }\n            }\n        })\n    }\n     \n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n    }\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 CoreMotion \u6846\u67b6\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u83b7\u53d6\u8bbe\u5907\u5404\u79cd\u4f20\u611f\u5668\u7684\u6570\u636e\uff08\u6bd4\u5982\uff1a\u52a0\u901f\u5668\u3001\u9640\u87ba\u4eea\u3001\u78c1\u529b\u8ba1\uff09\u3002\u5173 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5787"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5787"}],"version-history":[{"count":5,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5787\/revisions"}],"predecessor-version":[{"id":5839,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5787\/revisions\/5839"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}