Category "ios"

Phaser 3 Sound issue on iOS

In my game, I have a video playing before the game itself begins (short instruction about the game). After the video ends, I destroy it and the game starts, but

Clickable area of SwiftUI Picker overlapping

I am currently trying to create a page with three adjacent Picker views inside of an HStack as seen below: I made a CustomPicker view where I limit the frame t

Setting the titleLabel.font property of a of a UIButton not working

In currently working with iOS 7 and I an attempting to increase the font size of the titleLabel of my UIButton. I am doing it like this, [[_centerButton titleL

How to trigger UIContextMenuInteraction context menu programmatically?

I have set up an UIButton as the rightBarButtonItem in an UIViewController inside an UINavigationController and associated an iOS13 context menu to it. Long pre

Detect airplane mode on iOS

How can I detect if the phone is in airplane mode? (It's not enough to detect there is no internet connection, I have to be able to distinguish these 2 cases)

Self sizing collection view enters a recursive loop in iOS 15

I have a self sizing collection view and when I call super.layoutSubviews my app crashes since the collection view enters a recursive update loop. This was work

iOS development with Flutter on Windows? [closed]

I'd like to develope an iOS-app using Flutter. But unfortunately I'm having a Windows PC, so my question is if there are any good working iOS

ADA - Programmatically shifting VoiceOver focus to another SwiftUI view - compatible with IOS 13+

Overview: I'm having difficulty understanding how to properly programmatically shift accessibility focus in a SwiftUI view compatible with IOS 13+. This means u

Xcode : failed to get the task for process

This is for an existing app that compiled and distributed multiple times. Since updating to Xcode 5 I have this error popping. I have my developers profile se

Access view file from UICollectionViewListCell

I have a question about the UICollection view list's separatorLayoutGuide. I saw this article and understood I need to override the function updateConstraints()

How to force UILabel to draw a text with upper case chars?

How to force UILabel to draw a text with upper case chars?

Set UIPopover arrow direction and position manually

I'm using UIBarButtonItem. In my scenario I want to show a popover from every bar button when I double-click that bar button. So I use a UITapGesture from that

Getting a Black and White UIImage (Not Grayscale)

I need to get a pure black and white UIImage from another UIImage (not grayscale). Anyone can help me? Thanks for reading. EDITED: Here is the proposed solut

How to definitively set UITabBar background color and tint color

I have been trying to set my UITabBar's tint color and background color for quite some time now and nothing seems to work. So far I have tried: tabBarControll

In new Firebase, how to use multiple config file in xcode?

Hey I am playing with the new firebase iOS SDK, in my project, I have only one target, I created two configurations, Debug and Release, with different bundler i

iOS convert large numbers to smaller format

How can I convert all numbers that are more than 3 digits down to a 4 digit or less number? This is exactly what I mean: 10345 = 10.3k 10012 = 10k 123546 = 12

iOS convert large numbers to smaller format

How can I convert all numbers that are more than 3 digits down to a 4 digit or less number? This is exactly what I mean: 10345 = 10.3k 10012 = 10k 123546 = 12

Is it possible to make Vpn app using flutter and dart

I tried using this package to make VPN connection app but it dose not support the connection type like (L2TP or PPTP) https://pub.dev/packages/flutter_vpn

Deep link routing to Android/IOS app in vue js

When the user visits the mobile website via android/ios iphone, it should be redirected respective apps in their phone. If they still didn't install the respect

How to detect the end of loading of UITableView

I want to change the offset of the table when the load is finished and that offset depends on the number of cells loaded on the table. Is it anyway on the SDK