Questions tagged [universal]
621 questions
7
votes
3 answers
xcode's executable product for c++ project
I've completed a simple numbers-version of the game "Towers of Hanoi" using xcode's command line tool in C++. Being accustomed to PC compilers like borland's and visual-c, I've attempted to "share" the game with others via e-mail by simply attaching…

NBG
- 71
- 1
- 2
7
votes
1 answer
Override Close Box on Windows 10 Universal Apps UWP
I'm trying to prevent the app from being closed by clicking the Close box on the App Window.
For example, having a text editor with unsaved changes, upon pressing Close Box, I would first display, "Do you want to save changes before exiting?"
How…

Esenthel
- 499
- 4
- 17
7
votes
2 answers
Constraining proportions of GUI elements in Spritekit game
I apologize in advance because of huge post, but everybody who ever tried to make some kind of universal app knows that this is pretty problematic stuff, so please be easy on me...
The goal
What I am trying to achieve (shown on image above) is to…

Whirlwind
- 14,286
- 11
- 68
- 157
7
votes
4 answers
Create single .xib for Universal app in Interface Builder? (iOS)
Apologies if this is a silly question, but I've done some googling and searched SO and haven't found anyone asking this exact question.
I have been doing iOS development for some time now, but I am completely new to the Interface Builder. What I…

WendiKidd
- 4,333
- 4
- 33
- 50
6
votes
2 answers
Universal app for iPad not loading iPad .xib files?
I have been trying to figure out why this has been happening but it seems that, in the iPad version of my universal app, it is loading the iPhone .xib instead of the iPad one.
I have named my iPhone xibs with a suffix of ~iphone.xib and I left my…

SimplyKiwi
- 12,376
- 22
- 105
- 191
6
votes
0 answers
Universal Links query string removed/lost while generating share link, IOS, ReactNative Share
Project workspace
Mobile Project: ReactNative 0.64.3 / Expo with Managed Workflow / IOS 14.6 / NPM
Sharing Library: ReactNative's default Share library.
Website/Domain: Statically hosted via S3, single page app built with TS/Gatsby. Caching…

Tyler S
- 136
- 5
6
votes
1 answer
What is the definition of "ROLE" in UNIVERSAL and how do Perl Roles work?
Perl has an internal psuedo-module called UNIVERSAL which all modules inherit from. It has a method called DOES, from the docs on UNIVERSAL.
$obj->DOES( ROLE )
CLASS->DOES( ROLE )
DOES checks if the object or class performs the role ROLE. A role is…

Evan Carroll
- 78,363
- 46
- 261
- 468
6
votes
3 answers
iAd -- cannot click banner
I am creating a universal-app template.
This template will need to support optional iAds, and optionally all orientations.
I coded up a solution only to find a bizarre bug. in certain situations I was unable to click on the banner
I then recoded…

P i
- 29,020
- 36
- 159
- 267
6
votes
2 answers
UITextView in TableCell, How to set correct Width for Universal app
i am using a UITextView inside a tableView cell in order edit text.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
UITextField *textName = [[UITextField alloc] initWithFrame:CGRectMake(0, 0,…

teo
- 269
- 1
- 5
- 11
6
votes
0 answers
Preboot non-working client app - Angular 6 universal
I'm having issues when using preboot on an angular 6 app.
Basically, the client app is not working at all, the client-specific scripts don't work (like scroll listeners, HTTP calls, etc., I think there's actually no controllers), the styles are…

corentin gautier
- 91
- 1
- 4
6
votes
4 answers
Angular 4 Universal "window is not defined"
My project was running perfectly but when i implement universal then i am getting "window is not defined".
My error is as below.
node_modules/hammerjs/hammer.js:2643
})(window, document, 'Hammer');
^
ReferenceError: window is not…

khurshed alam
- 146
- 2
- 11
6
votes
0 answers
Angular 2/4 Will ElementRef break angular universal?
I have a question:
Will using ElementRef.nativeElement to read a property value (e.g. 'scrollHeight') count as a DOM interaction and therefore break Angular Universal?
ElementRef seems to be the only way to read a property from an element:…

orly
- 164
- 1
- 7
6
votes
3 answers
apple-app-site-association to return as application/JSON from a azure request
I have the following requirement,
When an URL is requested in the azure web site for a file, then the file available in root folder has to return to "application/JSON"
Say for example:
I have a file called "apple-app-site-association", which is a…

Ipsita Sethi
- 462
- 4
- 15
6
votes
3 answers
Can you make a universal app using both MainWindow.xib for the iPhone and Storyboard for the iPad?
I made an iPhone app long ago and I'm now thinking of making it a universal app, but I was wondering if I could use Storyboards for making the iPad version, so for the iPhone it would load a MainWindow.xib and for the iPad it would load a…

user1790012
- 63
- 4
5
votes
2 answers
Programming a Universal App in iOS
When I am programming a universal app, lets say I have an IBAction like so:
(IBAction)magicCode:(id)sender {
textField1.text = "TEST";
}
Do I need to create a new IBAction for each view (iPad and iPhone). I can't have textField1 twice in…

ios85
- 2,104
- 7
- 37
- 55