English 中文(简体)
是否有一个宣示性做法,在伊办方向变化时,将一个背景形象从孔隙转变为景观版?
原标题:is there a declarative approach to have one s background image changed from the portrait to landscape version upon orientation change in IOS?

背景——我有一张白喉/百日.,主要看法有背景形象。 我愿介绍这种背景形象的具体孔隙和景观形象,这种形象载于UIImage 书目。

问题 - 是否有一种宣示性做法,在伊办方向变化时,将一个背景形象从孔隙转变为景观版? 例如,通过一些档案名称公约方法?

(即,或您必须人工改变视力控制器的每个方向变化)

最佳回答

I ve never heard about such sweet opportunity. So I think you should manually reload images.

问题回答

暂无回答




相关问题
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, ...

热门标签