Need to add a popovercontroller in iPad - objective-c

I am working on an app for iPad. I have 6 screens. On all those 6 screens I have to add a menu bar on left side of the iPad. The app is in landscape mode. There would be a button on left side of the iPad. When user presses that button a popup appears on that button which has 6 buttons. Those 6 buttons would navigate to their respective screens. For example, when button A is pressed, it navigates to screen "a". Similarlly when buton B is pressed it navigates to screen "b" and so on. I have no idea about it. How can I implement a popovercontroller. please help.. I m in a great trouble..
regards
PC

http://www.raywenderlich.com/1056/ipad-for-iphone-developers-101-uipopovercontroller-tutorial
Wonderous tutorial on how to make UIPopoverControllers. Easily found with google too. Used it myself as well.
Good luck;)

Related

hard to tap buttons with xcode 9 and ios 11

I am facing a weird issue to tap UIButtons with Xcode 9 and IOS 11.2. The buttons are in a UIView and are simple call to action buttons such as submit and cancel.
When I click on these buttons, the action is triggered only when I click to the left most part of the button. I have checked that the view width is enough to allow the button to be inclusive in it as a whole. However, for some reason, I am not able to see why I am not able to click the button. A similar problem is encountered in other views too.
Any help is much appreciated.
Thanks!

Need TabBarController to be right to left RTL

Am using TabBarController in my ios7 project
and i need this TabBarController to be RTL so "More"
Button will appear in the left side of the screen
any idea how to achieve this
You can put you Tab Bar buttons in any order. However, I'd review what Apple's Human Interaction guide may have to say about that, as More buttons are generally found on the far right & you wouldn't want your app rejected for it.

hide Subtitles menu from mpmoviecontrol in ios 7

In iOS 7 when i push the mpmovieplayercontroller to screen there is an "Audio & Subtitles" menu item. However, it does not in ios 6. (it appears only in stream video playing)
Are there any way to hide this menu ?
BTW, i have tried 4 MPMovieControlStyle and none of them hide this menu.
The reason why Alternate Track button appears and how made it hidden.
https://developer.apple.com/library/ios/qa/qa1801/_index.html

Objective-c call touch on screen without user touching the screen

Im going to be using a framework that allows a iphone app to control my app on iPad. When i add it im going to make the joystick move a image of a mouse, and when the user presses the A button, i want to make the device think the user is touching at that point. Is there any way to do this?
Example: I place a button on the ipad screen at 0,0 with height and width of 100. then mouse is at point 50,50 and when the user presses and holds A, that button is held down, and when user lifts up, it calls that buttons action.

App crashes when tapped frequently

I am working on an app for iPad. In one class, I have used a scroll view at the bottom of the screen. This scroll view has some buttons. Those button play a video or open a PDF file. When user frequently taps on those button the app crashes. I have no idea why is it happening. Can any one please tell me why is it happening and how can I fix this crash?
Regards
PC
You should track the state of your view. Which button was pressed last, and don't allow it to be pressed again until.
a) it is done loading the pdf/video
and/or
b) another button has been pressed
You might have to be more strict than that, but we cannot help more than that at this point as Till mentions in your comments