English 中文(简体)
电话网络服务器中的URL定义
原标题:Define URL from a web server on iphone

我正在做一个讲解语的人,现在我会说一个问题。 我想将文件下载路径URL与一个纽芬兰州连接起来,这样当用户点击该纽芬兰州时,它就会从URL下载文件。 问题是,《欧洲公路货运公约》经常发生变化,我想这样做,首先要求网上和安放网,然后下载。 谁能帮助我? 因此,在上诉州背后的任何时间,都只是在线变更URL。 如果在纽特州后静态电离层电离层电离层电离层,则不会因为客户说电离层变化几乎每4天。

Thanks in advance for help.

例:

就在2天前,URL是: tv.cinstedac.com/iphone/stream.m3u8。

但现在的URL是 tv.cinstedac.com/iphone/stream1.m3u8。

All i want is to do such that when a person click on that button it downloads file at url, but what will be solution of changing URL ? So that i change it online & it gets updated on App as well !

最佳回答

最容易的方式是,对一个网络服务器进行静态的旋涡,然后将适当的旋转器归还。 但是,你的问题在什么地方可以找到这一ur。

http://www.ohchr.org。

你的编辑证实了我的猜测,你将需要一个始终处于同样压力的网页(例如,tv.cinstedac.com/iphone/giveStreamUrl.php)。 只给出一个产出线:

tv.cinstedac.com/iphone/stream1.m3u8

例如,你可以从一个数据库中获取这一词汇。 如果你想用实例代码,那么,我需要更多地了解你从哪里从哪里获得这一词汇(数据库、txt文档等)。

问题回答

暂无回答




相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签