ios - Error: Use of undeclared identifier NSOpenPanel in Xcode -


i'm getting following error:

use of undeclared identifier nsopenpanel

nsopenpanel *panel = [nsopenpanel openpanel]; [panel setcanchoosefiles:no]; [panel setcanchoosedirectories:yes]; [panel setallowsmultipleselection:yes]; // yes if more 1 dir allowed  nsinteger clicked = [panel runmodal]; if (clicked == nsfilehandlingpanelokbutton)  {     (nsurl *url in [panel urls])      {         // url here.     } } 

nsopenpanel not available in ios, under macos (cocoa).

you can not let user browse file system under ios. can browse file types though, using apples public api. instance can let user choose images using uiimagepickercontroller


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -