if (IOS5)
    {
        [self presentViewController:navWeibo animated:YES completion:nil];
    }
    else
    {
        [self presentModalViewController:navWeibo animated:YES];
    }

  

if (IOS5)
{
    [self dismissViewControllerAnimated:YES completion:nil];
}
    else
{
    [self dismissModalViewControllerAnimated:YES];
}

  

ios5之前与之后的版本差别

 

GCD

[self presentViewController:m_vcImgPicker animated:YES completion:^(){

        }];

[m_vcImgPicker dismissViewControllerAnimated:YES completion:^(){

        

        NSLog(@"m_mutArrPicList = %d",[m_mutArrPicList count]);

        

    }];

相关文章:

  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2021-04-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案