Sandboxed app & NSOpenPanel causes crashes

前端 未结 4 1874
梦谈多话
梦谈多话 2021-02-19 07:40

I am doing a simple file open panel in my Cocoa app. I enable entitlements and app sandboxing. But on OS X 10.9, when the app should open a dialog using NSOpenPanel

4条回答
  •  -上瘾入骨i
    2021-02-19 08:24

    My OS X app "Make a Face," also has problems when attempting to call a simple file open panel. The app does not crash, but the "select file to open" window starts shimmering, the pixel light in the dialogue box starts throbbing, and mouse clicks have a delayed impact from anywhere between 20 to 40 seconds. Very surreal. This only happens in Mavericks 10.9.

    Sandbox entitlement "com.apple.security.files.user-selected.read-write" is enabled, as it has been for all previous uploads of the app. However, under Mavericks, the "throbbing light file open panel syndrome" makes opening a user selected JPEG or PNG file from within the app a very bumpy ride.

提交回复
热议问题