简体   繁体   中英

Uploading Progress bar in menu bar - osx application

I would like to implement the progress with floating from 0% to 100 % and the estimation of upload time. I have tried with the menu bar controller example. But it doesn't help to implement the floating progress bar in the panel view controller.

Please check the below image for my implementation. When i click on (W) icon in menu bar, table is loading and show the upload progress bar. When the uploading is moving to next step. How to reload the table for every 1 sec or 2 sec without the event click.. ? When user click on the icon the progress should move continuously.

Looking forward for ideas or the sample code.

在此处输入图片说明

The below link helps to fix the issue :

Force Reload Table View

To reload the table view, used NSTimer frequently to update the progress bar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM