swift读取bundle文件

swift读取bundle文件

if let filepath = Bundle.main.path(forResource: "test", ofType: "html") {
    
    
    do {
    
    

    } catch {
    
    
        
    }
}

猜你喜欢

转载自blog.csdn.net/pureszgd/article/details/125874967