开发者

How do I build a toolbar in my title bar?

开发者 https://www.devze.com 2023-03-16 21:27 出处:网络
I have to implement a custom toolbar for my application, where a button will be开发者_JAVA百科 placed on the side of exit, maximize and minimize buttons.

I have to implement a custom toolbar for my application, where a button will be开发者_JAVA百科 placed on the side of exit, maximize and minimize buttons.

I tried to work with the toolbar element on XCode, but it always put elements below these buttons and not on the side.

App Store application implement this feature, like you can see in this image.

How do I build a toolbar in my title bar?


One solution is to start with this open source code (https://github.com/indragiek/INAppStoreWindow) to give you the correct title bar style, and then position buttons in the titlebar.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号