1

My problem is similar to this

But I am embedding my view in scrollview and by following this article my problem still persist, is there any way to fix this?

Community
  • 1
  • 1
Faisal Javaid
  • 129
  • 1
  • 8

2 Answers2

0

When you present a PickerView or MFMailComposeViewController then just write the following code.

[[[[AppDelegate sharedInstance] window] rootViewController] presentViewController:aImagePicker animated:YES completion:nil]

May be this code will help you.

Tejas Ardeshna
  • 4,343
  • 2
  • 20
  • 39
Jagat Dave
  • 1,643
  • 3
  • 23
  • 30
0

If the page layout has become wrong, particularly in a tableview or scrollview you can call :

[self.view layoutIfNeeded];

Which will go over all autolayout and move it about to correct it if required. I suggest you call that after dismissing the MFMailComposeViewController to be sure.

Luke Smith
  • 1,218
  • 12
  • 17