Alert view is showing white rectangle in iOS7

后端 未结 3 1470
终归单人心
终归单人心 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:44

    From iOS 7 onwards, you can do:

        [alertView setValue:customContentView forKey:@"accessoryView"];
    

    to get custom content in a standard alert view.

提交回复
热议问题