Post

Replies

Boosts

Views

Activity

How can I navigate to the controller using the PopOver which useses UIPopOverPresentationController
In my app I have the UIPopverController and it deprecated now. So I tried to show the PopOver using the UIPopoverPresentationController. Here I am facing some issues, The last item is showing as a footer of the Popover window and not able to click the item While clicking on other item it failed to navigate. How can I add the navigation. Previous code: SelectorViewController* sv = [[SelectorViewController alloc] initWithStyle:UITableViewStylePlain]; tsv.delegate = self; sv.currentTopic = self.title; popover = [[UIPopoverController alloc] initWithContentViewController:tsv]; popover.delegate = self; popover.popoverContentSize = [sv contentSizeForViewInPopover]; if ([popover respondsToSelector:@selector(setBackgroundColor:)]) popover.backgroundColor = [UIColor whiteColor]; [sv release]; } self.titleHeaderImage.highlighted = YES; [popover presentPopoverFromRect:self.titleView.frame inView:self.navigationController.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES]; New One: [self presentViewController:contentViewController animated: YES completion: nil]; popover.delegate = self; // popover.popoverContentSize = [tsv preferredContentSize]; if ([popover respondsToSelector:@selector(setBackgroundColor:)]) popover.backgroundColor = [UIColor whiteColor]; /*popover = [[UIPopoverController alloc] initWithContentViewController:tsv]; popover.delegate = self; popover.popoverContentSize = [tsv preferredContentSize]; if ([popover respondsToSelector:@selector(setBackgroundColor:)]) popover.backgroundColor = [UIColor whiteColor];*/ [ssv release]; } self.titleHeaderImage.highlighted = YES; [popover preferredContentSize:self.navigationController.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
0
0
447
May ’23
Trying to generate ipa shows there is no No suitable application records were found. Verify your bundle identifier 'com.facebook.sdk.FBCoreKit,framework' is correct.
Trying to generate ipa via Xcode 13.2.1 shows there is no No suitable application records were found. Verify your bundle identifier 'com.facebook.sdk.FBCoreKit,framework' is correct. After upgrading to 13.2.1 it occurs. Note: My app is an existing app. Before updating the Xcode it works fine for me. Also the bundle ID is correct and it is available in production as well.
0
0
548
Jan ’22
Build input file cannot be found: in my app derived data folder in Xcode 12.5.1 in m1
While running the app from Xcode, I am getting an error as the Build input file cannot be found. I have tried deleting the DerivedData folder entirely and re-run the app. Added arm64 and x86_64 in the Excluded architecture. But the error is still not resolved. Any workarounds. Note: It occurs when archiving as well as when I try to run the app in simulator as well Showing All Errors Only Build input file cannot be found: '/Users/name/Library/Developer/Xcode/DerivedData/application-dhdivlzaazbgnkkglsibo/Build/Products/Debug-iphonesimulator/Application.app/Application' OS: macOS Big Sur (m1) Version: 11.3.1
3
0
11k
Aug ’21