我有以下代码: let v = new Vibrant("https://source.unsplash.com/random/");
bodyS.background = 'url('+v._src+') no-repeat center center fixed'; 有没有办法将unsplash发送
我正在建立一个Android的东西"kiosk“风格的应用程序,我想要一个图像显示在背景中像墙纸。我使用Unsplash Source来获取一个随机图像,但是源URL (https://source.unsplash.com/1080x1920/?long-exposure)总是重定向到一个图像URL,所以我不能使用这个: InputStream is = (InputStream) new U
目前,我的url中有一个随机数生成器,用于将新数字分配给url的page参数。当我获取一个新图像并打印该url时,它使用相同的url。我不知道如何删除url中现有的随机数。以下是我的声明: public static var random = Int.random(in: 0..<450)
static let ImageURL = "https:/