Can it be accepted by apple HIG/Appstore test process, if we use any modal controller's main view as a subview of any UIViewController.
for eg:
i) Can i show the MailComposer Controller as a subview of my UIViewController,
ii) AddressBook People picker navigation controller (ABPeoplePickerNavigationController) as a subview of my UIViewController.
Following is a test code I am diving and found the UI , but still suspect whether, there is any Appstore restriction is there or not.
Please share if any had experienced such a situation and passed through Appstore process or any app found in iTunes store, would be great helpful.. to move further with confidence
Thanks in advance..
for eg:
i) Can i show the MailComposer Controller as a subview of my UIViewController,
ii) AddressBook People picker navigation controller (ABPeoplePickerNavigationController) as a subview of my UIViewController.
Following is a test code I am diving and found the UI , but still suspect whether, there is any Appstore restriction is there or not.
Code:
UIView *ContactsView=[[UIView alloc] initWithFrame:CGRectMake(0, 100, 320, 360)];
ABPeoplePickerNavigationController *peoplePickerController = [[ABPeoplePickerNavigationController alloc] init];
peoplePickerController.navigationBarHidden=YES;
CGRect newFrame = peoplePickerController.view.frame;
newFrame.size.height = newFrame.size.height - 130;
peoplePickerController.view.frame = newFrame;
peoplePickerController.peoplePickerDelegate = self;
[ContactsView addSubview:[peoplePickerController view]];
Thanks in advance..