在点击tableview的某一行的时候 怎么切换scrollview里的图片 iOS 在点击tableview的某一行的时候 怎么切换scrollview里的图片 点击哪一行 显示改行对应的图片 行标题和图片都是从数据库取出来的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 tableView有个代理方法:- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath选中cell的时候触发。- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ scrollView.image = arrDatasource[indexPath.row];} 如何一次发送多个推送到不同token的手机啊 ? 关于iPhone开发, 看完OC该干什么了? 一天也没能解决的问题,求助~~~ 使用beginAnimations的问题 iphone 如何确认一个中文字符完成输入 TableViewCell获取不到控件 请问这里如何解决Application tried to present modally an active controller 如何在uiwebview里面嵌入html5的视频播放器 .mm文件可以在ios中使用吗 iOS 用webvie加载 PDF ios10.1.1加载不出来 一个苹果开发者账号能建立几个APNS证书呀? 布局问题
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
选中cell的时候触发。- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
scrollView.image = arrDatasource[indexPath.row];
}