How scroll move down when image insert in IKImageBrowserView?


i want move scroll down when image inserted display inserted image.

m using not works.

code:
 - (void) addimagewithpath:(nsstring *) path {        myimageobject *item;          nsstring *filename = [path lastpathcomponent]; 	 	/* skip '.*' */  	if([filename length] > 0){ 		char *ch = (char*) [filename utf8string]; 		 		if(ch) 			if(ch[0] == '.') 				return; 	} 	 	item = [[myimageobject alloc] init];	 	[item setpath:path]; 	[images addobject:item]; 	[item release]; 	 	[imagebrowser reloaddata]; 	 	[imagebrowser scrollindextovisible:[images count]]; 	 } 
please me how can this.
 



Forums Macs Mac 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

Popular posts from this blog

Mac OS X Server as File Server for 50/50 Mac & PC Workgroup

Permissions Problem?

iPhone won't sync with iTunes