ios - XIB popover display -


i seem having trouble making popover xib display when app loaded. here have in viewdidload.i sorry, new looking tutorials , ran problem app crashes. error log "terminating app due uncaught exception 'nsexception', reason: 'could not load nib in bundle:" "(loaded)' name 'search''

     viewcontroller* viewcontroller2 = [[viewcontroller alloc] initwithnibname:@"search" bundle:nil]; self.popovercontroller = [[uipopovercontroller alloc] initwithcontentviewcontroller:viewcontroller2];  _popovercontroller.popovercontentsize = cgsizemake(350,100); 

look @ this.

it says nib 'search' not exist in builded app. either xib not named "search.xib" or xib not included project. can check looking .app-directory on phone or simulator.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -