{"id":53,"date":"2017-09-20T17:12:21","date_gmt":"2017-09-20T09:12:21","guid":{"rendered":"http:\/\/www.hlzhy.com\/?p=53"},"modified":"2021-03-04T10:07:22","modified_gmt":"2021-03-04T02:07:22","slug":"ios-11-%e5%92%8c-iphonex%e9%80%82%e9%85%8d","status":"publish","type":"post","link":"https:\/\/www.hlzhy.com\/?p=53","title":{"rendered":"iOS 11 \u548c iPhoneX\u9002\u914d"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u524d\u8a00\uff1a<\/h3>\n\n\n\n<p>\u521a\u66f4\u65b0\u4e86iOS 11\u548cXcode 9\uff0c\u8bd5\u4e86\u4e0biPhone X\u6a21\u62df\u5668\u4e0a\u8dd1\u516c\u53f8\u7684\u9879\u76ee\uff0c\u53d1\u73b0\u9879\u76ee\u5728iPhone X\u8fd9\u4e2a\u5927\u957f\u8138\u4e0a\u8fd0\u884c\u8fd8\u5b58\u5728\u5f88\u591a\u9002\u914d\u95ee\u9898\u3002\u6240\u4ee5\u5199\u6b64\u6587\u7ae0\u8bb0\u5f55\u81ea\u5df1\u5728\u9002\u914diPhone X\u65f6\u6240\u9047\u5230\u7684\u95ee\u9898\uff0c\u4e5f\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u9700\u8981\u5e2e\u52a9\u7684\u540c\u5b66\u4eec\u3002\u5982\u6709\u95ee\u9898\u4e5f\u5e0c\u671b\u5927\u5bb6\u63d0\u51fa\u6765\uff0c\u5171\u540c\u63a2\u8ba8\uff0c\u5171\u540c\u8fdb\u6b65\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5173\u4e8eiPhone X<\/h3>\n\n\n\n<p>\u5317\u4eac\u65f6\u95f4\u76849\u670813\u65e5\u51cc\u6668\uff0c\u7f8e\u56fd\u5f53\u5730\u65f6\u95f4\u76849\u670812\u65e5\u4e0a\u5348\uff0c\u82f9\u679c\u5728\u53d1\u5e03\u4f1a\u4e0a\u53d1\u5e03\u4e86\u56db\u6b3e\u4ea7\u54c1\uff0c\u5305\u62ec\u5168\u65b0\u7684Apple Watch Series 3\uff0cApple TV 4K\uff0ciPhone 8\/8 Plus\uff0c\u548c\u5168\u65b0iPhone X\u56db\u6b3e\u5168\u65b0\u4ea7\u54c1\u3002\u5176\u4e2dX\u662f\u6570\u5b5710\u7684\u610f\u601d\uff0c\u56e0\u6b64\u82f9\u679c\u5c06\u5176\u8bfb\u97f3\u8bfb\u4f5c\u201ciPhone Ten\u201d\u3002<br>\u5e94\u4e3a\u6709\u8bbe\u5907\u7684\u5706\u89d2\uff0c\u4f20\u611f\u5668\u533a\u57df\uff08\u5218\u6d77\uff09\uff0c\u6216\u7528\u4e8e\u8bbf\u95ee\u4e3b\u5c4f\u5e55\u7684\u6307\u793a\u5668(Home Indicator)\u539f\u56e0\uff0c\u4eceiOS 11.0\u5f15\u5165\u4e86UIView\u7684safeArea(\u5b89\u5168\u533a)\u7684\u6982\u5ff5\uff0c\u540c\u65f6\u5e9f\u9664\u4e86iOS 7 \u5f00\u59cb\u5728 UIViewController\u4e2d\u5f15\u5165\u7684 topLayoutGuide\u548c bottomLayoutGuide<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"320\" src=\"https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/safeArea\u533a\u57df.png\" alt=\"\" class=\"wp-image-180\" srcset=\"https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/safeArea\u533a\u57df.png 662w, https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/safeArea\u533a\u57df-300x145.png 300w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><figcaption>safeArea\u533a\u57df \u548c Margins<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>iPhone X<\/th><th>iPhone 6s<\/th><\/tr><\/thead><tbody><tr><td>\u5c4f\u5e55<\/td><td>375pt \u00d7 812pt<\/td><td>375 pt \u00d7 667 pt<\/td><\/tr><tr><td>Tabbar<\/td><td>83pt<\/td><td>49pt<\/td><\/tr><tr><td>StatusBar<\/td><td>44pt<\/td><td>20pt<\/td><\/tr><tr><td>Navigation<\/td><td>44pt<\/td><td>44pt<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul><li><strong>\u5c3a\u5bf8\uff1a<\/strong>1125px \u00d7 2436px(375pt \u00d7 812pt @3x)<\/li><li><strong>Tabbar\uff1a<\/strong>\u753149pt\u53d8\u4e3a\u4e8683pt (\u52a0\u4e0a\u5e95\u90e8\u7559\u7ed9Home Indicator\u7684\u7a7a\u767d\u90e8\u5206)\u3002<\/li><li><strong>StatusBar\uff1a<\/strong>\u753120pt\u53d8\u4e3a44pt<\/li><li><strong>Navigation\uff1a<\/strong>\u8fd8\u662f44pt<\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/link.jianshu.com\/?t=https%3A%2F%2Fdeveloper.apple.com%2Fios%2Fhuman-interface-guidelines%2Foverview%2Fiphone-x%2F\" target=\"_blank\" rel=\"noreferrer noopener\">iPhone X \u82f9\u679c\u5b98\u65b9\u4eba\u673a\u4ea4\u4e92\u6307\u5357<\/a><br><a href=\"https:\/\/link.jianshu.com\/?t=http%3A%2F%2Fblog.csdn.net%2Fu013583789%2Farticle%2Fdetails%2F77964194\" target=\"_blank\" rel=\"noreferrer noopener\">iPhone X \u82f9\u679c\u5b98\u65b9\u4eba\u673a\u4ea4\u4e92\u6307\u5357 \u624b\u52a8\u7ffb\u8bd1<\/a>\uff08\u7531\u535a\u5ba2\u540d\uff1a<a href=\"https:\/\/link.jianshu.com\/?t=http%3A%2F%2Fmy.csdn.net%2Fu013583789\" target=\"_blank\" rel=\"noreferrer noopener\">\u6211\u7684\u676f\u6d17\u5177<\/a>\u7ffb\u8bd1\u7684\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u9879\u76ee\u4e2d\u9047\u5230\u7684\u9002\u914d\u95ee\u9898\uff1a<\/h3>\n\n\n\n<h6 class=\"wp-block-heading\">\u4e00\u3001\u52a8\u6001\u8ba1\u7b97statusbar + navigationBar\u9ad8\u5ea6<\/h6>\n\n\n\n<p>\u5f00\u53d1\u4e2d\u6211\u4eec\u9700\u8981\u77e5\u9053statusbar \u548c navigationBar\u9ad8\u5ea6\u7528\u4e8e\u8ba1\u7b97\u754c\u9762\u4e2d\u63a7\u4ef6\u7684\u4f4d\u7f6e\uff0c\u4f46\u662f\u7531\u4e8eiPhone X\u6709\u4e2a\u5927\u5218\u6d77\u4f7f\u5f97statusbar\u7684\u9ad8\u5ea6\u4e0d\u540c\u4e8e\u4e4b\u524d\u7684\u673a\u578b\u3002\u8fd9\u65f6\u5019\u5982\u679c\u9879\u76ee\u4e2d\u7684\u8ba1\u7b97\u503c\u662f\u5199\u6b7b\u8bdd\uff0c\u5c31\u4f1a\u51fa\u73b0\u9002\u914d\u95ee\u9898\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u52a8\u6001\u8ba1\u7b97\u6765\u9002\u914d\u4e0d\u540c\u7684\u673a\u578b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    \/\/ \u72b6\u6001\u680f(statusbar)\n    CGRect StatusRect = &#91;&#91;UIApplication sharedApplication] statusBarFrame];\n    \/\/\u6807\u9898\u680f\n    CGRect NavRect = self.navigationController.navigationBar.frame;\n    CGFloat y = StatusRect.size.height + NavRect.size.height;\n<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">\u4e8c\u3001MJRefresh\u7684footer\u51fa\u73b0\u5728Home Indicator\u4f4d\u7f6e\u4e0a<\/h6>\n\n\n\n<p>(\u6b64\u65b9\u6cd5\u53ea\u9002\u5408navigationController\u4e3a\u4e0d\u900f\u660e\u72b6\u6001\u4e0b)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-895281fe29e07626.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/582\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>MJRefresh\u7684footer\u51fa\u73b0\u5728Home Indicator\u4f4d\u7f6e\u4e0a.png<br><\/p>\n\n\n\n<p>\u8fd9\u662f\u5e94\u4e3aiOS11\u5f03\u7528\u4e86automaticallyAdjustsScrollViewInsets\u5c5e\u6027\uff0c\u65b0\u589econtentInsetAdjustmentBehavior\u6765\u66ff\u4ee3\u5b83\u3002\u5c31\u662fiOS11\u4f1a\u81ea\u52a8\u9650\u5236CollectionView\u7684\u5e95\u90e8\u4e0d\u4f1a\u8d85\u51fa\u5b89\u5168\u533a\u8303\u56f4\uff0c\u4e0d\u60f3\u7cfb\u7edf\u5e2e\u6211\u4eec\u81ea\u52a8\u8bbe\u7f6e\u8fb9\u8ddd\u5219\u8981\u5728iOS11\u4e2d\u52a0\u4e0a\u4e0b\u9762\u8fd9\u53e5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> if (@available(iOS 11.0, *)) {\n        self.myCollectionView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;\n    } else {\n        \/\/ Fallback on earlier versions\n    }\n<\/code><\/pre>\n\n\n\n<p>\u4f46\u662f\u8fd9\u65f6\u5019\u5c31\u4f1a\u51fa\u73b0\u6211\u4eec\u7684CollectionView\u5185\u5bb9\u4f1a\u8d85\u51fa\u5b89\u5168\u533a\u548cHome Indicator\u91cd\u53e0\uff0c\u8fd9\u6837\u6700\u5e95\u4e0b\u7684cell\u4e24\u8fb9\u5c31\u4f1a\u88ab\u5c4f\u5e55\u5706\u89d2\u5207\u6389\u4e00\u90e8\u5206\uff0c\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\u3002\u6211\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u7ed9collectionView\u52a0\u4e0a\u4e00\u4e2a34pt\u9ad8\u7684footer<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">UICollectionView\uff1a<\/h6>\n\n\n\n<pre class=\"wp-block-code\"><code>UICollectionViewFlowLayout *flowLayout = &#91;&#91;UICollectionViewFlowLayout alloc] init];\n\/\/\u8fd9\u91cc\u7701\u7565\u5176\u4ed6\u5c5e\u6027\u914d\u7f6e......\n\/\/......\nif (iPhoneX) {\n    flowLayout.footerReferenceSize = CGSizeMake(SCREEN_WIDTH, 34);\n  }\nself.myCollectionView = &#91;&#91;UICollectionView alloc] initWithFrame:&#91;UIScreen mainScreen].bounds collectionViewLayout:flowLayout];\n<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">UITableView\uff1a<\/h6>\n\n\n\n<pre class=\"wp-block-code\"><code> if (iPhoneX) {\n    self.myTableView.tableFooterView = &#91;&#91;UIView alloc]initWithFrame:CGRectMake(0, 0, 0, 34)];\n    \/\/\u6ce8\u610f\uff1a\u5982\u679cUITableViewStyle = UITableViewStyleGrouped \u65f6\uff0c\u8fd9\u6837\u8bbe\u7f6e\u4f1a\u5bfc\u81f4tableHeaderView\u4e5f\u670934\u7684\u9ad8\u5ea6\n }\n\n\u6216\u8005\n\n- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{\n    if (self.myTableDataSourceArray.count - 1 == section &amp;&amp; iPhoneX) {\n        return 34;\n    }\n    return 0.0001;\n}\n<\/code><\/pre>\n\n\n\n<p>\u6ce8\uff1aiPhoneX\u662f\u5224\u65ad\u673a\u578b\u7684\u5b8f\uff1a<code>#define iPhoneX ([UIScreen mainScreen].bounds.size.height == 812.0)<\/code><br>SCREEN_WIDTH\u662f\u5c4f\u5e55\u5bbd\u5b8f\uff1a<code>#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-9c5b60be5fb2ec1a.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/620\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4fee\u6539\u5b8c\u6210\u540e.png<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">\u4e09\u3001Tableview\u5206\u533a\u5934\u9ad8\u5ea6 \u548c \u52a8\u753b\u5f02\u5e38\u95ee\u9898<\/h6>\n\n\n\n<p>\u53c2\u8003<a href=\"https:\/\/www.jianshu.com\/p\/370d82ba3939\" target=\"_blank\" rel=\"noreferrer noopener\">\u300a\u4f60\u53ef\u80fd\u9700\u8981\u4e3a\u4f60\u7684APP\u9002\u914diOS11\u300b<\/a>\u7b2c\u4e09\u90e8\u5206-<em>UIScrollView and UITableView\u7684\u65b0\u7279\u6027<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    self.myTableView.estimatedRowHeight = 0;\n    self.myTableView.estimatedSectionHeaderHeight = 0;\n    self.myTableView.estimatedSectionFooterHeight = 0;\n<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">\u56db\u3001\u754c\u9762\u5e03\u5c40\u8d85\u51fasafeArea(\u5b89\u5168\u533a)\u5185\u5bb9\u88ab\u6307\u793a\u5668\u76d6\u4f4f<\/h6>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-51f877190ae8cd92.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1000\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u5185\u5bb9\u88ab\u6307\u793a\u5668\u76d6\u4f4f.png<br><strong>Xib\u7b49\u53ef\u89c6\u754c\u9762\u5e03\u5c40:<\/strong><br>\u7531\u4e8eiPhone X\u5e95\u90e8\u6709\u5706\u89d2\u548c\u6307\u793a\u5668\u7684\u539f\u56e0\uff0c\u4e4b\u524d\u9879\u76ee\u5e03\u5c40\u5728\u5e95\u90e8\u7684\u63a7\u4ef6\u4f1a\u88ab\u6307\u793a\u5668\u906e\u6321\u6216\u88ab\u5706\u89d2\u5207\u6389\u4e00\u90e8\u5206\u3002\u6709\u65f6\u5019\u754c\u9762\u5e03\u5c40\u6bd4\u8f83\u7d27\u51d1\u6216\u4e3a\u4e86\u7f8e\u89c2\uff0c\u4e3a\u4e86\u6ee1\u8db3\u5728iPhone X\u4e0b\u4e0d\u88ab\u906e\u6321\u800c\u5728\u5176\u5b83\u673a\u578b\u4e0a\u53c8\u8fd8\u662f\u4f4d\u7f6e\u4e0d\u53d8\uff0c\u8fd9\u65f6\u5019safeArea\u5c31\u8d77\u4f5c\u7528\u4e86\uff0c\u53ef\u4ee5\u52fe\u9009Xib\u7684Safe Area\u5c5e\u6027<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-1d91cee310c7f0c1.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/898\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u52fe\u9009Xib\u7684Safe Area\u5c5e\u6027.png<\/p>\n\n\n\n<p>\u52fe\u9009\u4e86Safe Area\u5c5e\u6027\u4f60\u5c31\u4f1a\u53d1\u73b0\u5de6\u8fb9\u591a\u4e86\u4e2aSafe Area\uff0c\u8fd9\u65f6\u5019\u4f60\u9700\u8981\u91cd\u65b0\u7ea6\u675f\u4e00\u4e0b\u88ab\u906e\u6321\u7684\u63a7\u4ef6\uff0c\u7ea6\u675f\u7684\u53c2\u7167\u5bf9\u8c61\u5e94\u8be5\u662fSafe Area\uff0c\u8fd9\u6837\u65b0\u7684\u7ea6\u675f\u5c31\u4f1a\u6839\u636eSafe Area\u7684\u53d8\u5316\u800c\u6539\u53d8\u4f4d\u7f6e\uff0c\u4e0d\u4f1a\u51fa\u73b0\u5185\u5bb9\u88ab\u6307\u793a\u5668\u76d6\u4f4f\u7684\u95ee\u9898\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-0ff103f89cce6103.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1000\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4e0d\u540c\u673a\u578b\u65f6Safe Area\u7684\u53d8\u5316.png<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upload-images.jianshu.io\/upload_images\/1706847-3cf1f2996abc7ef2.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1000\/format\/webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u7ea6\u675f\u7684\u53c2\u7167\u5bf9\u8c61\u5e94\u8be5\u662fSafe Area.png<\/p>\n\n\n\n<p>\u4f46\u662f\u6709\u4e00\u70b9\u9700\u8981\u6ce8\u610f\uff0c\u5c31\u662f\u5fc5\u987b\u662fBuilds for iOS9.0 \u53ca\u4ee5\u4e0a\u7684\u7248\u672c\uff0c\u4e0d\u7136\u52fe\u9009\u4e86\u5c31\u4f1a\u62a5<code>Safe Area Layout Guide before ios9.0<\/code>\u9519\u8bef\u3002\u5982\u679c\u4f60\u8981\u9002\u914d\u4f4e\u4e8e9.0\u7684\u7248\u672c\uff0c\u90a3\u53ea\u80fd\u4f7f\u7528\u4ee3\u7801\u5e03\u5c40\u6216\u53e6\u5bfb\u5176\u5b83\u529e\u6cd5\u4e86\u3002<\/p>\n\n\n\n<p><strong>\u4ee3\u7801\u5e03\u5c40:<\/strong><br>iOS11\u4e3aUIViewController\u548cUIView\u589e\u52a0\u4e86\u4e24\u4e2a\u65b0\u7684\u5c5e\u6027safeAreaInsets\u548csafeAreaLayoutGuide, \u901a\u8fc7\u8fd9\u4e24\u4e2a\u5c5e\u6027\u6211\u4eec\u53ef\u4ee5\u83b7\u5f97\u5b89\u5168\u533a\u57df\u7684\u8303\u56f4\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/\u83b7\u53d6\u67d0View\u5b89\u5168\u533a\u57df\u8303\u56f4\u7684\u5b8f\n#define VIEWSAFEAREAINSETS(view) ({UIEdgeInsets i; if(@available(iOS 11.0, *)) {i = view.safeAreaInsets;} else {i = UIEdgeInsetsZero;} i;})\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"651\" height=\"347\" src=\"https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/\u5b89\u5168\u533a\u57df\u8fb9\u7f18\u4e0e\u5f53\u524dView\u8fb9\u7f18\u7684\u8ddd\u79bb.png\" alt=\"\" class=\"wp-image-181\" srcset=\"https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/\u5b89\u5168\u533a\u57df\u8fb9\u7f18\u4e0e\u5f53\u524dView\u8fb9\u7f18\u7684\u8ddd\u79bb.png 651w, https:\/\/www.hlzhy.com\/wp-content\/uploads\/2021\/03\/\u5b89\u5168\u533a\u57df\u8fb9\u7f18\u4e0e\u5f53\u524dView\u8fb9\u7f18\u7684\u8ddd\u79bb-300x160.png 300w\" sizes=\"(max-width: 651px) 100vw, 651px\" \/><\/figure>\n\n\n\n<p>\u5b89\u5168\u533a\u57df\u8fb9\u7f18\u4e0e\u5f53\u524dView\u8fb9\u7f18\u7684\u8ddd\u79bb.png<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">END<\/h4>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\uff1a \u521a\u66f4\u65b0\u4e86iOS 11\u548cXcode 9\uff0c\u8bd5\u4e86\u4e0biPhone X\u6a21\u62df\u5668\u4e0a\u8dd1\u516c\u53f8\u7684\u9879\u76ee\uff0c\u53d1\u73b0\u9879\u76ee\u5728iPhone X\u8fd9\u4e2a\u5927\u957f\u8138\u4e0a\u8fd0\u884c\u8fd8\u5b58\u5728\u5f88 &hellip; <a href=\"https:\/\/www.hlzhy.com\/?p=53\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">iOS 11 \u548c iPhoneX\u9002\u914d<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,17],"_links":{"self":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":2,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":182,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/182"}],"wp:attachment":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}