Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让 UIScrollView/iCarousel 在特定部分停止,index或者像这里一样以编程方式: ([[images objectAtIndex:index] intValue] == 75)
index
([[images objectAtIndex:index] intValue] == 75)
这是我滚动 iCarousel 的方式:
[carousel scrollByNumberOfItems:-35 duration:10.7550f];
您可以使用滚动到特定索引
[carousel scrollToItemAtIndex:5 duration:10.0f];
我不是 100% 确定我理解你想要做什么 - 你的示例代码没有任何意义,因为在这段代码中你试图将图像转换为整数,这只会崩溃:
我正在尝试使提交密钥有效
<a type="submit" ID="link_lkRegSetupCont" class="appNavNext" onClick="" target="_top" title="Continue" value="submit" >Continue</a>
它不起作用