code:
- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { self.window = [[uiwindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; // override point customization after application launch. self.viewcontroller = [[searchviewcontroller alloc] initwithnibname:@"searchviewcontroller" bundle:nil]; self.window.rootviewcontroller = self.viewcontroller; [self.window makekeyandvisible]; return yes; uiimage *barimage = [uiimage imagenamed:@"bartexture"]; [[uisearchbar appearance] setbackgroundimage:barimage]; } my rootviewcontroller has uisearchbar object. why doesn't uisearchbar object load 'bartexture' image?
what understanding of how return works in terms of execution flow?
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment