Alert view is showing white rectangle in iOS7

后端 未结 3 1469
终归单人心
终归单人心 2020-12-01 12:51

The following code works perfectly from iOS 5 to 6.1. I even have applications in store with that code:

-(void)showActivityIndicator
{
    if(!mLoadingView)          


        
3条回答
  •  星月不相逢
    2020-12-01 13:21


    now addSubview is not available in UIAlertView in iOS7

    The UIAlertView class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified

    As an alternative you can use SVProgressHUD.

提交回复
热议问题