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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -