iOS - Add menu item to Safari "Open with" - objective-c

I'm new to iOS development - How do I create a Safari extension that adds a new item to the "Open with" menu (the same menu where I can bookmark the page)? I'd like to share the page URL that the user is currently viewing with a third-party app.
Thanks

Assuming you are using Xcode, go to your project settings, then choose your target. In the Info tab, you would add a Document Type which will associate it (doc, xls, txt, etc) with your application. If you open the item in safari, you will be presented with an option to open it in your app. In recent versions of mobile safari, I believe a bar appears at the top of the document presenting you with this option as opposed to appearing in the 'Add Bookmark' popover.
Here is some detailed information.

Related

Why does Command-N not open a new window in Safari? It opens a new Tab instead

I want to open a new window in Safari. The stated File menu shortcut for this in the Safari app is Command-N. When I type Command-N "New Window" in Safari on Big Sur, I get a new tab. There is no key combination that results in a new window except command-shift-N, which I don't want to use as it makes a private browser window.
Safari settings has "Open pages in tabs instead of new windows" set to "Never." So that's not the problem... any ideas? Does this work for anyone besides me?
Thanks
I found the solution!
Go into System Preferences, General (settings).
Toward the bottom there is a setting for "Prefer Tabs" with a dropdown menu. Change it to "in full screen".
Fixed it for me.

itunesconnect - 'New Version' button not available

How to add a new version of the app in iTunesConnect ? The button is not available, please see the below screenshot.
I found a link to tour where it is given that you can add a new version using the button + Version or Platform as shown below. But, this button is disabled for me.
You can't create a new version if you already have a 'developer rejected' version. I suspect you can't create a new version either when you have one 'Ready for Sale' as in the original posting. You can however upload a new build, which is probably what you want to do anyway. Go to the page for the app in iTunes Connect, hover over the Build, click the red bar to delete it (this latter option is what I had missed myself). Now you can upload a new build from XCode (or use one you uploaded already) and add it to this version.
As Apple has no solution, then we will force add new versiĆ³n, this work for me:
From the iTunes connect page for the app version you wish to create a new version:
Should be use Chrome developer tools or firefox inspector.
Select the source for the page and open the find dialog (CTRL+F).
Search for "platform in newVersionPlatformList".
This will show the enclosing "li" of the button (iOS or tvOS). Find all childs "a" tags, which should look something like this: iOS
Must remove class "ng-hide" of "a" tags and this will show another (iOS or tvOS) button in browser.
- In the browser, must try to click on the new buttons (iOS or tvOS) and this will show popup the dialog of new version number.
Enter new version number
"(+) VERSION OR PLATFORM" botton is showing?
Which browser you are using? Use Safari.
If there is an update on the contract / license agreement, you have to review and approve.
I had to contact Apple to resolve this problem. It was an issue with iTunesConnect.

Launch path/url with "Choose Application" dialog

If you right click on an item, then hover over "Open With", then you see "Other". Clicking that shows a dialog, which lists the "recommended applications" (which were seen in the first "open with" context menu) and now it shows some others too. Image is below.
Is there a way i can launch a path/url into this dialog? If url then it offers firefox, and safari, etc.
I saw this was possible on iOS but I can't find the desktop equivalent: How do I create an Open With Dialog in iOS?
Image of choose app dialog:

Open given url in OpenERP in new tab

How to open url link on new tab instead of pop up in OpenERP on button click?
In V7, ctrl-clicking on most links works as expected (i.e. open link in a new tab).
In 6.1 you have to create a new tab by Ctrl-clicking on the OpenERP logo (in the top left corner), which opens a new tab with the default screen and then navigate from there to the page you need (tedious, I know...). You can also try this addon: https://code.launchpad.net/~h-jaroslav/+junk/web_tabs which opens links in tabs inside the web client tab.
First you have mark the following options from your browser preferences
"Open New window in a new Tab" and
"When I Open a link in a New Tab,switch it to immediately"
Second, you just set your mouse over to link in openerp and press Scroll key.
The page will Open/display in New Tab

Menu bar button panels in Cocoa?

When I click on buttons in the menu bar (such as "About Program") when the program is running a new window pops up displaying information. How do I edit the windows associated with the buttons?
In Interface builder I manage to load "Main Menu" which allows me to customize the menu bar, but it doesn't allow me to work with the windows associated with the buttons. How would I edit these windows?
Mac OSX Snow Leopard, Xcode 3.2.6
EDIT: I am not specifically asking for steps for the "About Panel". I am looking for a general procedure for editing panels associated with buttons in the menu bar. In addition to the "About" panel I would also want to work with panels such as the "Help" panel. The "About" panel was just an example.
The standard About panel isn't in your nib; it's generated within the framework.
You can change the text of the panel by writing a Credits.rtf or Credits.html file and including that in your app bundle. (You may already have Credits.rtf supplied by the project template. If so, you should just edit that.)
If you want to make more radical changes, you'll need to create your own panel and change your About menu item to show it instead.
As far as a general procedure...no, there's no single procedure that would let you customize any standard panel in the same way. They all have their own mechanisms (e.g. some can display more panes when plug-in components are installed; some provide APIs to hide or show certain parts; some, like the About box, use bundle filename conventions to decide what to do).
For the Help panel specifically...you can't change anything about it except the web page (i.e. the help content). The toolbar, etc. is all handled by Apple. I suggest looking at this documentation for more, which also links to other important documents:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/OnlineHelp/Concepts/ComprehenHelp.html%23//apple_ref/doc/uid/20000017-BBCCFHAC