objective-c : presentView and dismissView method with block