Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
xcode web browser help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mystic_fm" data-source="post: 773649" data-attributes="member: 28538"><p>I'm not sure I understand what you are doing since you are talking about the Safari app. But if by chance you are just displaying a WebView in your own application, then to display a particular URL you should only need to use your WebView's setMainFrameURL selector.</p><p></p><p>About the application icon, I only got around to trying this right now, and successfully got an icon into one of my applications by creating an .icns file using Icon Composer (included with Xcode), adding that file to my project and then specifying the filename as the "Icon File" value in the Properties pane of the Info window for the project build target (i.e., adding it to the Info.plist file). Didn't seem like too difficult of a process, but there may be other, better ways to do it. For document type icons the procedure would be similar (except for the location where the icon filename is specified, which should be pretty obvious when looking at the Properties pane).</p></blockquote><p></p>
[QUOTE="mystic_fm, post: 773649, member: 28538"] I'm not sure I understand what you are doing since you are talking about the Safari app. But if by chance you are just displaying a WebView in your own application, then to display a particular URL you should only need to use your WebView's setMainFrameURL selector. About the application icon, I only got around to trying this right now, and successfully got an icon into one of my applications by creating an .icns file using Icon Composer (included with Xcode), adding that file to my project and then specifying the filename as the "Icon File" value in the Properties pane of the Info window for the project build target (i.e., adding it to the Info.plist file). Didn't seem like too difficult of a process, but there may be other, better ways to do it. For document type icons the procedure would be similar (except for the location where the icon filename is specified, which should be pretty obvious when looking at the Properties pane). [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
xcode web browser help
Top