MPMediaPicker bottom part not responding to the clicks - iphone

I am using MPMediaPicker to play music from iPod Library in my app and facing a very strange issue:
The bottom of my media picker sometimes doesn't respond to the clicks,not even the built in tab bar of MPMediaPicker.Also I can't choose some songs at the bottom of the list.This may be very basic but I am unable to get it right now.
Please help!

Resolved the issue by presenting the MPMediaPickerController in a UIPopoverController

Related

WatchOS 8 pressing one of the side buttons dismisses modal sheet

The behavior of the crown button on the Apple Watch has always been to close your app and take you to your Home Screen / watch face. Now when I build my watch app with Xcode 13 and WatchOS 8 when I press one of the side buttons it dismisses whatever modal sheet I have in my app.
This is a terrible user experience as my app is a workout app and I want my users to quickly get to other apps such as music while they are working out without closing everything out.
Apple's workout app presents a modal to add a workout but when I hit the side button in their app it takes me to the Home Screen. I have tried to watch all the latest videos and read the documentation but I don't see anywhere that I can disable this new functionality of the side buttons. Anyone know how I can change the physical side button behavior for my app? Thank you for your help!
It is a new feature. Add .interactiveDismissDisabled() to the content on the sheet or fullScreenCover.
https://developer.apple.com/documentation/swiftui/navigationview/interactivedismissdisabled(_:)
This is working as intended, it got changed in WatchOS 8.
Your best bet would be to submit it to Apple feature assistant.

iOS 7 SDK view from bottom like maps app

Could anybody please inform me which type of view is shown in the iOS 7 maps app when you touch the small info button in the right bottom corner? It only covers half the screen and I want to reuse it, but have no clue what to search for.
Thanks
That appears to be a UIActionSheet.

UIWebView and interface orientation

I'm creating a simple tab bar app for my YouTube channel. I have tabs for Twitter, Facebook and other stuff, but my last one is a YouTube channel. I just did a standard UIWebView with the website and it's like you're on the mobile platform in Safari like I want, but when you play a video it only works in portrait view and I have tried a few things like changing the code so it is
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
But that sadly makes the whole tab bar application landscape and that isn't what I'm looking to do. I honestly have spent hours upon hours trying new things and I literally am having no progress and I am getting very frustrated. I hope this helps, thank you. And just in case I was confusing before I would like to just make the Youtube videos in the UIWebView landscape and that is it. Thanks again. Also if this isn't possible could I get maybe some direction on how to implement a youtube API into a tab bar app...?
Have you gone into app summary and clicked to available orientations?
Are You running it in the simulated if you go to the menu at the top of your mac and go to hardware then click the rotation you would like or just type Command-(then the direction on your arrow keys such as -->)
Other than that I have no clue.

Tap to focus on camera apps, Supposedly not possible, but a bug in my app enables it (although useless)

I would like to get tap to focus in my app and the controls are hidden
Supposedly this is impossible but I know its not. I have a simple iAD dragged into an overlay, no code or anything. When I click on the iAD nothing. but when I close it with the home button I get a modal exit of the nonexistant iAD and the camera apps relaunches but in the top left with only a small portion viewable. But this time the tap to focus is enabled.
So how can I do this without the bug?
Thanks!
Guess no one got it? I just showed the controls to take a snap and zoom and focus came up!

i image does not work good in utility app on iPhone app

I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app also - same issue. Thus its not an issue with the code I believe.
Any help to resolve this issue is much appreciated.
Thanks,
AJ
This is a problem because the 'i' button is not very big by default and touches are missed easily.
You need to put another button in front of the 'i' button with the 'Custom' type in Interface Builder, so that it doesn't have any image. Then you can make this invisible button much larger and connect it to the same action as the info button.
You also need to enable "shows touch on highlight" in Interface Builder so that you get the white glow effect when the invisible button is touched.