I am invoking camera from my application. i want to remove few menu items that is provided by the camera application. how to do that.
Thanks alot
You can't remove menu items from native apps like Camera or Calendar.
You can only add menu items to some of them , but you can't add menu item to Camera neither.
Related
I just recently noticed it is possible to add a force touch gesture to my watch app. I've added a Menu and 3 Menu items... as seen here:
Although, when I force touch, the menu does not come up.
Do I need to do something else to get this thing working?
Tutorials suggest I do not. Thus, I turn to stackoverflow.
By default, each menu item's image is set to Custom in the attributes inspector, and without an image asset selected here a menu item won't appear at all upon a firm press. You'll have to choose one of the images that Apple provides in the attributes inspector Image dropdown menu or provide your own asset where it says No Image right below.
I am building a chat app that uses JSQMessagesViewController. The default functionality includes the ability for a user to long press a chat bubble which then presents a copy menu option (see screenshot). I would like to add an additional custom menu for reporting a comment. Ideally when the user long presses a chat bubble the menu now has two options, copy and report. Can someone please point me in the right direction for adding this custom menu button? Thank you!
See the demo file
https://github.com/jessesquires/JSQMessagesViewController/blob/develop/JSQMessagesDemo/DemoMessagesViewController.m
See the use of customAction
I am trying to add custom controls to an embeded YouTube player. I am overlaying a html menu. However, when a user clicks on the full screen button within YouTube my html menu will no longer be available on the larger player.
There are two possible solutions I foresee.
First, if I could figure out the element that is generated for the fullscreen player then I could overlay controls on this.
Second, if I could grab the fullscreen click event I could use javascript to get the current available window demenisions an scale the video to the available realestate.
I found this: https://developer.mozilla.org/en-US/docs/DOM/Using_fullscreen_mode?redirectlocale=en-US&redirectslug=DOM%2FUsing_full-screen_mode
However, I am not sure if it would work in most browsers and second it looks like it is in the test phase.
The answers I am looking for are:
What is the element or how can I find the element that is generated for the fullscreen player?
Or
How can I capture the click event for fullscreen?
Do you want to capture the click anywhere on the screen or on a link in a menu?
If you want to capture the click on a link on a menu I think this plugin can be useful as an example:
http://www.seanmccambridge.com/tubular/
https://code.google.com/p/jquery-tubular/source/browse/trunk/js/jquery.tubular.1.0.js
I'm new to iOS developing and want to know how to make a menu (btn1,btn2,...) on which when you click on it to be taken to a list of documents (example1,example2,...) and when you on them to display a preview of the document, and the option to view it in iBooks or Pages.
Like the image below.
Thank you :)
http://i.stack.imgur.com/wEli4.png
You can make a UITableView to display various options. On selection of an option you can show them a UISplitViewController with left being a list and right side being a preview. Note that you cannot push a UISplitViewController but just add it as subview.
I want to remove some of the menu items and also want to disable menu on click of the button on some screens of my application.
use addMenuItem and removeMenuItem(menuitem) to add and remove menuitems in blackberry.
Refer blackberry library links addMenuItem() and MenuItem Class