小编Pin*_*put的帖子

How to get indexpath in prepareForSegue

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender 
    {
    if ([segue.identifier isEqualToString:@"Action"])
    {
        NSIndexPath *indexPath = [self.tbl indexPathForSelectedRow];
        SecondViewController *destViewController = segue.destinationViewController;
        destViewController.getString = [getArray objectAtIndex:indexPath.row];
    }
}
Run Code Online (Sandbox Code Playgroud)

i wanna to access the selected row index,but show null for every selected row. please help me?

uitableview ios

39
推荐指数
2
解决办法
2万
查看次数

如何在 webview (swift 4.0) 中设置 html 字符串

当我尝试加载这种类型的html字符串时,我遇到了问题

(<p>Identify the arrow-marked structures in the images<img alt=\"\" src=\"https:\/\/dams-apps-production.s3.ap-south-1.amazonaws.com\/course_file_meta\/73857742.PNG\" \/><\/p>\r\n)
Run Code Online (Sandbox Code Playgroud)

webview。问题是由于向后倾斜而引发的。

任何帮助都会受到赞赏

html swift xcode9

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

html ×1

ios ×1

swift ×1

uitableview ×1

xcode9 ×1