Have any one idea about this issue please share.. When I make universal app at that time if i have two image one for ipad and another for iphone like "Demo~iphone.png" and "Demo~ipad.png" In this if i just use "Demo" as image name then xcode manage it and make adjustment by default for ipad and iphone. So would this functionality can be use for landscape and portrait mode?I see this type of functionality in default lunch image like its name become "Default-Portrait~ipad.png" and "Default-Landscape~ipad" and xcode manage it, so is it possible by some way for other images in project?
preguntado el 31 de julio de 12 a las 12:07
There is no default way the system would handle orientation by filename. You could implement some helper method to decide which files ought to be chosen for a given orientation, while your files correspond to a naming scheme you have defined.
The helper method imageNameWithTemplate:forOrientation: then would decide which file to load and return.
You would implement this method for whenever the orientation has been changed.