<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: WKWebView should have API to prevent pinch-to-zoom always being allowed"
href="https://bugs.webkit.org/show_bug.cgi?id=158364#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: WKWebView should have API to prevent pinch-to-zoom always being allowed"
href="https://bugs.webkit.org/show_bug.cgi?id=158364">bug 158364</a>
from <span class="vcard"><a class="email" href="mailto:thorton@apple.com" title="Tim Horton <thorton@apple.com>"> <span class="fn">Tim Horton</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=158364#c11">comment #11</a>)
<span class="quote">> > The interface should have availability macros, yes, but the implementation
> > shouldn't be #if'd out, should it?
>
> I think the code won't compile if the version is lower than the availability
> macro.</span >
No. The availability macro (WK_AVAILABLE) is unrelated to what code actually builds, and is just an annotation. You only want the availability macro, not the #if __IPHONE_OS_VERSION_MIN_REQUIRED bits.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>