{"id":1101,"date":"2011-05-24T06:51:00","date_gmt":"2011-05-24T06:51:00","guid":{"rendered":"https:\/\/rawbytes.org\/?p=1101"},"modified":"2025-11-24T02:59:47","modified_gmt":"2025-11-24T02:59:47","slug":"uiwebview%e3%81%ae%e3%83%90%e3%82%a6%e3%83%b3%e3%82%b9%e3%82%a2%e3%83%8b%e3%83%a1%e3%82%92%e7%84%a1%e5%8a%b9%e3%81%ab%e3%81%99%e3%82%8b%e8%a6%81%e7%82%b9%e3%81%a0%e3%81%91","status":"publish","type":"post","link":"https:\/\/rawbytes.org\/?p=1101","title":{"rendered":"UIWebView\u306e\u30d0\u30a6\u30f3\u30b9\u30a2\u30cb\u30e1\u3092\u7121\u52b9\u306b\u3059\u308b\u8981\u70b9\u3060\u3051"},"content":{"rendered":"<p>\u30a2\u30d7\u30ea\u5185\u3067UIWebView\u3092\u4f7f\u3046\u3068\u304d\u306b\u56f0\u308b\u306e\u304c\u3001\u30bf\u30c3\u30c1\u64cd\u4f5c\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u3066\u3057\u307e\u3046\u3053\u3068\u3002<br \/>\n\u30cd\u30a4\u30c6\u30a3\u30d6UI\u306bUIWebView\u304c\u5165\u308a\u3053\u3093\u3067\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u3066\u3001UI\u306e\u7d71\u4e00\u6027\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>WebView\u304c\u30c9\u30e9\u30c3\u30b0\u52d5\u4f5c\u3067\u7bc4\u56f2\u5916\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u308b\u300c\u30d0\u30a6\u30f3\u30b9\u52d5\u4f5c\u300d\u304c\u7121\u52b9\u306b\u3067\u304d\u308c\u3070\u826f\u3055\u305d\u3046\u3060\u3051\u3069\u3001\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u8abf\u3079\u305f\u3089\u3001\u51fa\u3066\u304d\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/500761\/stop-uiwebview-from-bouncing-vertically\">http:\/\/stackoverflow.com\/questions\/500761\/stop-uiwebview-from-bouncing-vertically<\/a><br \/>\n<i>for (id subview in webView.subviews)<\/i><br \/>\n<i>&nbsp; if ([[subview class] isSubclassOfClass: [UIScrollView class]])<\/i><br \/>\n<i>&nbsp; &nbsp; ((UIScrollView *)subview).bounces = NO;<\/i><\/p>\n<p>\u8981\u306fUIWebViews\u306esubViews\u3067\u53d6\u308a\u3060\u3057\u305f\u5b50\u8981\u7d20\u306e\u4e00\u89a7\u304b\u3089UIScrollView\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u308a\u51fa\u3057\u3001<br \/>\n\u305d\u308c\u306ebounces\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u7121\u52b9\u306b\u3059\u308b\u3002\u3053\u308c\u304c\u3046\u307e\u304f\u30b9\u30af\u30ed\u30fc\u30eb\u3092disable\u306b\u3067\u304d\u308c\u3070\u3001\u6c17\u517c\u306d\u306a\u304f\u30cd\u30a4\u30c6\u30a3\u30d6UI\u3068\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u304c\u63a1\u7528\u3067\u304d\u305d\u3046\u3002<\/p>\n<p>\u307e\u3060\u5b9f\u969b\u306b\u306f\u8a66\u3057\u3066\u306a\u3044\u3051\u3069\u5f8c\u3067\u8a66\u3057\u3066\u307f\u308b\u4e88\u5b9a\u3002<\/p>\n<div class=\"post-footer\" style=\"color: #999999;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;font-size: 14px;line-height: 1.6;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;margin-top: 0.5em\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30d7\u30ea\u5185\u3067UIWebView\u3092\u4f7f\u3046\u3068\u304d\u306b\u56f0\u308b\u306e\u304c\u3001\u30bf\u30c3\u30c1\u64cd\u4f5c\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u3066\u3057\u307e\u3046\u3053\u3068\u3002 \u30cd\u30a4\u30c6\u30a3\u30d6UI\u306bUIWebView\u304c\u5165\u308a\u3053\u3093\u3067\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u3066\u3001UI\u306e\u7d71\u4e00\u6027\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3046\u3002 WebView\u304c\u30c9\u30e9\u30c3\u30b0\u52d5\u4f5c\u3067\u7bc4\u56f2\u5916\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u308b\u300c\u30d0\u30a6\u30f3\u30b9\u52d5\u4f5c\u300d\u304c\u7121\u52b9\u306b\u3067\u304d\u308c\u3070\u826f\u3055\u305d\u3046\u3060\u3051\u3069\u3001\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u8abf\u3079\u305f\u3089\u3001\u51fa\u3066\u304d\u305f\u306e\u3067\u30e1\u30e2\u3002 http:\/\/stackoverflow.com\/questions\/500761\/stop-uiwebview-from-bouncing-vertically for (id subview in webView.subviews) &nbsp; if ([[subview class] isSubclassOfClass: [UIScrollView class]]) &nbsp; &nbsp; ((UIScrollView *)subview).bounces = NO; \u8981\u306fUIWebViews\u306esubViews\u3067\u53d6\u308a\u3060\u3057\u305f\u5b50\u8981\u7d20\u306e\u4e00\u89a7\u304b\u3089UIScrollView\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u308a\u51fa\u3057\u3001 \u305d\u308c\u306ebounces\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u7121\u52b9\u306b\u3059\u308b\u3002\u3053\u308c\u304c\u3046\u307e\u304f\u30b9\u30af\u30ed\u30fc\u30eb\u3092disable\u306b\u3067\u304d\u308c\u3070\u3001\u6c17\u517c\u306d\u306a\u304f\u30cd\u30a4\u30c6\u30a3\u30d6UI\u3068\u306e\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u304c\u63a1\u7528\u3067\u304d\u305d\u3046\u3002 \u307e\u3060\u5b9f\u969b\u306b\u306f\u8a66\u3057\u3066\u306a\u3044\u3051\u3069\u5f8c\u3067\u8a66\u3057\u3066\u307f\u308b\u4e88\u5b9a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,21,23,29],"tags":[],"class_list":["post-1101","post","type-post","status-publish","format-standard","hentry","category-develop","category-howto","category-ios","category-objective-c"],"_links":{"self":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1101"}],"version-history":[{"count":1,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1101\/revisions"}],"predecessor-version":[{"id":1102,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1101\/revisions\/1102"}],"wp:attachment":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}