ios - 如何制作 SKViaPoint 的实例
<p><p>演示应用程序中没有示例,我不知道如何创建 SKViaPoint 对象的实例。</p>
<p>它只提到了 SKRoutingService.h,但即使在那里我也找不到更多关于它的信息。</p>
<p>SKViaPoint.h 类不在项目中,或者我无法通过搜索找到它。</p>
<p>类似:</p>
<pre><code>SKViaPoint* viaPoint = [ init];
</code></pre>
<p>没有用,有谁能帮帮我吗?</p>
<p>文档链接:</p>
<p> <a href="http://developer.skobbler.com/docs/ios/2.5.0/Classes/SKViaPoint.html#//api/name/coordinate" rel="noreferrer noopener nofollow">Skobbler Api Documentation</a> </p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>demo项目中有一些例子,即:</p>
<pre><code>SKViaPoint *point = ;
</code></pre>
<p>方法定义(来自 SkViaPoint.h)在哪里</p>
<pre><code>** A newly initialized SKViaPoint object.
@param viaPointID The unique identifier of the viapoint.
@param viaPointCoordinate The location of the viapoint.
*/
+ (instancetype)viaPoint:(int)viaPointID withCoordinate:(CLLocationCoordinate2D)viaPointCoordinate;
</code></pre></p>
<p style="font-size: 20px;">关于ios - 如何制作 SKViaPoint 的实例,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/31845861/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/31845861/
</a>
</p>
页:
[1]