Bottom bar in NSWindow

前端 未结 3 2059
情书的邮戳
情书的邮戳 2021-02-04 10:01

I am developing an app in Cocoa. I need to show a progress at the bottom bar of window. But I am searching for a solution to put a bottom bar in a NSWindow.

<
3条回答
  •  北海茫月
    2021-02-04 10:27

    This is the code to put a bar at the bottom of the window (like in the finder):

    [theWindow setContentBorderThickness:24.0 forEdge:NSMinYEdge];
    

提交回复
热议问题