Questions tagged ios

Explore the latest questions and answers asked by our top developers.

Blob file not open in Edge browser on Iphone IOS mobile

Hi All I am not able to dowonload PDF file on Iphone edge browser below is my code snippet in angular. const fileName = file.name + ‘.’ + file.data_type; const dataType = res.type; const binaryData = []; binaryData.push(res); const blob = new Blob(binaryData, { type: ‘application/pdf’}); // IE if (window.navigator && window.navigator.msSaveOrOpenBlob) { window.navigator.msSaveOrOpenBlob(blob, fileName); […]

By user3750939
Published
Categorized as .net, angular, ios, iphone, javascript Tagged , , , ,

Ionic Angular Capacitor 3 – iOS pod install fails

While upgrading to Capacitor 3 from Capacitor 2, While doing the Pod install to run on iOS. when running the command pod install I always get the following error: ✖ Updating iOS native dependencies with pod install – failed! ✖ update ios – failed! [error] Analyzing dependencies [!] CocoaPods could not find compatible versions for […]

By Parag Ghadge
Published
Categorized as angular, capacitor, ionic-framework, ios Tagged , , ,

Click or focus event not working on Safari

I’m trying to invoke a click on a datetime-local input that is hidden from the user – HTML: <span *ngIf="startDatetime?.value" (click)="openPicker(‘start’)" > {{startDatetime?.value | date: ‘MM/dd/yyyy hh:mm a’}} </span> <div *ngIf="!startDatetime?.value" class="empty-date" (click)="openPicker(‘start’)"> — </div> <input class="hide-input" formControlName="startDatetime" #startDatetimeInput type=’datetime-local’> CSS: .hide-input { left: -30000px; visibility: hidden; opacity: 0; position: absolute; } Typescript: @ViewChild(‘startDatetimeInput’) startDatetimeInput?: […]

By Guilherme Rabelo
Published
Categorized as angular, ios, javascript, safari, typescript Tagged , , , ,

Click or focus event not working on Safari [ANGULAR]

I’m trying to invoke a click on a datetime-local input that is hidden from the user – HTML: <span *ngIf="startDatetime?.value" (click)="openPicker(‘start’)" > {{startDatetime?.value | date: ‘MM/dd/yyyy hh:mm a’}} </span> <div *ngIf="!startDatetime?.value" class="empty-date" (click)="openPicker(‘start’)"> — </div> <input class="hide-input" formControlName="startDatetime" #startDatetimeInput type=’datetime-local’> CSS: .hide-input { left: -30000px; visibility: hidden; opacity: 0; position: absolute; } Typescript: @ViewChild(‘startDatetimeInput’) startDatetimeInput?: […]

By Guilherme Rabelo
Published
Categorized as angular, ios, javascript, safari, typescript Tagged , , , ,

chrome pull-refresh with fullpage library aotearoan

I am using a library on angular for fullpage scrolling. Whenever I swipe up my page on mobile browser ( chrome ) , opening chrome refresh popup. And its not good. You can see this picture on the below. enter link description here Library : https://github.com/aotearoan/angular-fullpage Demo Page : https://aotearoan.github.io/angular-fullpage/ If you open the demo […]

cordova-music-controls-plugin Cover

I’m working on a Radio player for a client and I’m trying to show the Radio logo instead of music cover. everything work fine. but the logo is too small I’m using cordova-music-controls-plugin2 plugin. image dimension is 512×512 px this.musicControls.create({ track: ‘LE DIRECT’, // optional, default : ” artist: ‘Radio Tarab’, // optional, default : […]

By Hadarisas
Published
Categorized as android, angular, cordova, ionic-framework, ios Tagged , , , ,

Dropdown for iOS with Angular

I am working on a mobile application using Angular and looking for a select/dropdown control which looks like this in iOS devices: Can you please let me know how I can achieve this functionality. I looked online and it says when we use a simple select control it should look like the one mentioned above […]

By Valla
Published
Categorized as angular, ios Tagged ,

Ionic – Cordova ScreenOrientation from Landscape to Portrait doesn’t work

I demonstrated my app basically like below which provides screen rotating. import { ScreenOrientation } from ‘@ionic-native/screen-orientation/ngx’; constructor( private readonly screenOrientation: ScreenOrientation ) { } rotateMap() { const activeType = this.screenOrientation.type; this.screenOrientation.lock( activeType === ‘landscape’ ? this.screenOrientation.ORIENTATIONS.PORTRAIT : this.screenOrientation.ORIENTATIONS.LANDSCAPE ); } ngOnDestroy(): void { this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.PORTRAIT); } <button (click)="rotateMap()" type="button"> </button> Rotatemap button should change screen […]

By Timu in i ek
Published
Categorized as android, angular, cordova, ionic-framework, ios Tagged , , , ,

Ionic Native BackgroundFetch iOs implementation

Im creating a simple BackgroundFetch api that should return the value of a for loop for now. When i run the code in XCode the App works but my background results dont appear even though i get the logs of "Fetch initialized". in the output log i found this part that suggests something with the […]

Angular / Ionic mobile app ios does not fetch from Firebase using angularfire

I am trying to test a little Ionic/Angular sample app on an iOS Emulator. On the web, all the requests to firestore using angularfire work perfectly fine. Somehow if I try to execute the same app on the emulator, it keeps loading for the response of the request (if it was a empty response it […]

1 2 3 27

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq