mbprogresshud

    0熱度

    2回答

    我有一個方法從通訊簿獲取聯繫人並與他們做一些東西(「getContactInformation」)。 這個過程有點長(幾秒),並在此過程後,我顯示一個新的ViewController。爲了使用戶友好,我想使用MBProgressHUD在過程開始時顯示一個活動指示器,並在最後隱藏它。 這是最好的辦法嗎?我已經測試這一點: MBProgressHUD *hud = [MBProgressHUD sho

    11熱度

    2回答

    我正嘗試在應用程序中使用MBProgressHUD。我在HUD添加到視圖時發生錯誤。 這是將進度條添加到視圖的代碼。 HUD = [[MBProgressHUD alloc] initWithView:self.navigationController.view]; [self.view.window addSubview:HUD]; // Set determinate mode HUD

    2熱度

    1回答

    我想初始化MBProgress HUD的模式,但只有標籤不是環形模式纔會彈出進度。 //Addition of new HUD progress whilst running the process field entries method HUD = [[MBProgressHUD alloc] initWithView:self.view]; [self.view addS

    0熱度

    2回答

    我想在我的應用程序中顯示HUD的混合,所以例如,當用戶點擊「登錄」時,我想讓我的HUD顯示微調器說「登錄...」 ,然後更改爲「登錄!」的複選標記圖像,然後隱藏。我想這個使用下面的代碼來完成:這裏 MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; HUD.labelText = @"Loggin

    1熱度

    1回答

    我想使用MBProgressHUD庫來查看我的項目中的加載窗格。通常我會使用此代碼顯示在屏幕上: HUD = [[MBProgressHUD alloc] initWithView:self.navigationController.view]; [self.navigationController.view addSubview:HUD]; HUD.delegate = self; HUD

    0熱度

    2回答

    我有一個MBProgressHUD,我想在切換標籤頁時顯示。這是在我的應用程序委託。我這裏有這個代碼顯示HUD上只有前三個標籤 -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController{ if ([vi

    2熱度

    2回答

    我希望在通過NSURL字符串上傳期間使用MBProgressHUD顯示消息。所以我編碼: MBProgressHUD *hud1 = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud1.labelText = @"sending info ..."; hud1.minShowTime =10.0; NSURL *url =

    0熱度

    2回答

    實際上,我使用NSXMLParser類來解析託管在服務器上的XML文件。 雖然解析器是做他的工作,我想顯示一個進度HUD抓住有:https://github.com/jdg/MBProgressHUD 這是我如何顯示進度HUD: MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:NO]; hud.label

    2熱度

    3回答

    在我的應用程序中,我有UINavigationController裏面UITabBar 當我顯示我的平視顯示器時,整個屏幕被鎖定,除了TabBar。所以解除我的HUD的唯一方法就是點擊一個標籤。 我也想關閉它,當我在「後退」按鈕點擊我的NavigationController 這裏是我的代碼: hud = [[MBProgressHUD alloc] initWithView:self.navig

    0熱度

    1回答

    我想爲我的方法添加完成回調,以便HUD的進度知道它已完成。 MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.mode = MBProgressHUDModeAnnularDeterminate; hud.labelText = @"Loading"; [self doSomethi