samvermette/SVProgressHUD — Issue #43: presentViewController with [SVProgressHUD dismiss]
Author: saturngod
Created: 2012-01-11 07:25:10+00:00
State: open

When I called

[SVProgressHUD dismiss];

in presentView controller , the previous ViewController is appear and current presentViewController is lost.

I checked your code and I found

[[UIApplication sharedApplication].windows.lastObject makeKeyAndVisible];

I commented it and it's working fine for me.