Update to ios6 compatible on Modalviewcontroller

Just a small update to remove the warning on iOS 6 + SDK.