Is there a way to preload a WKWebView in Interface Builder?How can I make a UITextField move up when the keyboard is present - on starting to edit?“Unknown class <MyClass> in Interface Builder file” error at runtimeHow do I compose a subview of the root view in Interface Builder?Bind a custom control created as UIView in Interface Builder via monotouchWKWebView in Interface BuilderXcode 6 Bug: Unknown class in Interface Builder fileWKWebView - iframe content is not loading in simulator/deviceIs there an override for changing text size in real-time using WKWebView loading local HTML files?IBDesignable element misplaced in interface builder, needs to update frames manuallyHow to monitor Javascript calls in WKWebView Swift?
Alternatives to minimizing loss in regression
Does dual boot harm a laptop battery or reduce its life?
Can Lightning Lure be used to knock out a creature like a magical Taser?
Composing fill in the blanks
Why were contact sensors put on three of the Lunar Module's four legs? Did they ever bend and stick out sideways?
Why does the Eurostar not show youth pricing?
Antonym of "Megalomania"
Can I attune a Circlet of Human Perfection to my animated skeletons to allow them to blend in and speak?
Scam? Checks via Email
Is there a way to download the iOS 13 public beta IPSW?
Does Ubuntu reduces battery life?
Do the books ever say oliphaunts aren’t elephants?
Why is my fluorescent tube orange on one side, white on the other and dark in the middle?
What force enables us to walk? Friction or normal reaction?
Why tantalum for the Hayabusa bullets?
Summoning A Technology Based Demon
How to efficiently shred a lot of cabbage?
How can Paypal know my card is being used in another account?
Did Vladimir Lenin have a cat?
Why did I lose on time with 3 pawns vs Knight. Shouldn't it be a draw?
Why was the LRV's speed gauge displaying metric units?
Why did Windows 95 crash the whole system but newer Windows only crashed programs?
How does a poisoned arrow combine with the spell Conjure Barrage?
What is the reason for cards stating "Until end of turn, you don't lose this mana as steps and phases end"?
Is there a way to preload a WKWebView in Interface Builder?
How can I make a UITextField move up when the keyboard is present - on starting to edit?“Unknown class <MyClass> in Interface Builder file” error at runtimeHow do I compose a subview of the root view in Interface Builder?Bind a custom control created as UIView in Interface Builder via monotouchWKWebView in Interface BuilderXcode 6 Bug: Unknown class in Interface Builder fileWKWebView - iframe content is not loading in simulator/deviceIs there an override for changing text size in real-time using WKWebView loading local HTML files?IBDesignable element misplaced in interface builder, needs to update frames manuallyHow to monitor Javascript calls in WKWebView Swift?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm building a demo application that is a combo of HTML and Javascript and real iOS controls. The HTML content will ship within the application bundle.
I'm overlaying invisible buttons on the WKWebView to activate real functions in the app. In order to position them properly, I'd like to have the WKWebView load its first page in Interface Builder. Is this possible?
ios xcode interface-builder wkwebview
add a comment |
I'm building a demo application that is a combo of HTML and Javascript and real iOS controls. The HTML content will ship within the application bundle.
I'm overlaying invisible buttons on the WKWebView to activate real functions in the app. In order to position them properly, I'd like to have the WKWebView load its first page in Interface Builder. Is this possible?
ios xcode interface-builder wkwebview
add a comment |
I'm building a demo application that is a combo of HTML and Javascript and real iOS controls. The HTML content will ship within the application bundle.
I'm overlaying invisible buttons on the WKWebView to activate real functions in the app. In order to position them properly, I'd like to have the WKWebView load its first page in Interface Builder. Is this possible?
ios xcode interface-builder wkwebview
I'm building a demo application that is a combo of HTML and Javascript and real iOS controls. The HTML content will ship within the application bundle.
I'm overlaying invisible buttons on the WKWebView to activate real functions in the app. In order to position them properly, I'd like to have the WKWebView load its first page in Interface Builder. Is this possible?
ios xcode interface-builder wkwebview
ios xcode interface-builder wkwebview
asked Mar 26 at 20:41
OscarOscar
90415 silver badges29 bronze badges
90415 silver badges29 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have to do it programatically, in view will appear of the view controller class attached to the nib file. You cannot do it directly in Interface Builder.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55365870%2fis-there-a-way-to-preload-a-wkwebview-in-interface-builder%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to do it programatically, in view will appear of the view controller class attached to the nib file. You cannot do it directly in Interface Builder.
add a comment |
You have to do it programatically, in view will appear of the view controller class attached to the nib file. You cannot do it directly in Interface Builder.
add a comment |
You have to do it programatically, in view will appear of the view controller class attached to the nib file. You cannot do it directly in Interface Builder.
You have to do it programatically, in view will appear of the view controller class attached to the nib file. You cannot do it directly in Interface Builder.
answered Mar 26 at 20:44
Joshua CleetusJoshua Cleetus
1961 silver badge10 bronze badges
1961 silver badge10 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55365870%2fis-there-a-way-to-preload-a-wkwebview-in-interface-builder%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown