Skip to main content

All Questions

Tagged with
0 votes
0 answers
25 views

How to Choose Good Values for minimum, maximum, and preferred in CAFrameRateRange?

I'm working with a CADisplayLink in iOS to synchronize my rendering with the screen refresh rate. On devices running iOS 15 or later, CADisplayLink allows us to specify a preferredFrameRateRange using ...
zeus's user avatar
  • 13.1k
0 votes
0 answers
125 views

How to get MetricKit SignPost Metrics data formulated into battery usage % for feature wise usage in iOS app?

I am trying to access feature-wise battery usage in my app. For this I used MetricKit and put signposts at start and end of a flow of feature. I got one of the payloads like this: { "...
Gaurav Mishra's user avatar
0 votes
0 answers
84 views

Clicking the right mouse button. Mac M1 (Designed for iPad)

We have an iOS application. It has support for Mac M1 (Designed for iPad). All our menus open by pressing the left mouse button (or pressing one finger on the Touchpad). This action is recognized as ...
Pavel Zorin's user avatar
0 votes
1 answer
456 views

iOS Swift : How to detect that other apps are being use by the user or not?

Suppose I launched my app and kept it is in background by pressing home button and now user is started using their other apps (like WhatsApp, Instagram, Paytm etc any apps) . My requirement is that I ...
VipinYadav's user avatar
0 votes
0 answers
120 views

will my application be rejected if i use UIApplication.value(forKeyPath: #keyPath(UIApplication.shared)) as? UIApplication

can i use below one ? let app = UIApplication.value(forKeyPath: #keyPath(UIApplication.shared)) as? UIApplication for app store build instead of let app = UIApplication.shared in my application i ...
Amit Saxena's user avatar
-1 votes
1 answer
122 views

CallDirectory app extension runs out of memory without beginning request

I am running into an issue where my CallDirectory app extension runs out of memory immediately when I toggle my application on in the call blocking & identification settings screen. I set ...
Chandler De Angelis's user avatar
0 votes
1 answer
42 views

How do I properly design my own custom table cell?

I designed a special table cell, but when the application runs, its display is broken. How can I set this. (I'm new to iOS development) Thank you :) My cell design enter image description here ...
BurakEryvz's user avatar
0 votes
0 answers
58 views

How can I transfer data between two files without segue?

UIView is available as a separate file. How can I pass data between two files without a segue? I am trying to pass data without using segue. I am using UIView in main viewcontroller. This UIView has a ...
selim's user avatar
  • 11
1 vote
0 answers
292 views

Deleting from the start of the UITextfield clears the whole textfield

When the cursor is placed at the start of a UITextfield, pressing delete once, clears the whole textfield. Why does this issue occur and how can I fix this? Below is the code I'm using for the ...
Dawood Aamir's user avatar
0 votes
0 answers
79 views

How to get C char * string value in swift?

char* iperf_get_test_json_output_string ( struct iperf_test* ipt ); // .h file I am using iperf SDK .c file in iOS project in swift. Above function return (char *) pointer reference. I am ...
Vikas Verma's user avatar
0 votes
2 answers
1k views

TextView adds bottom padding/space when text is one line

Issue I am experiencing a weird behaviour with a UITextView which is inside a UIStackView with a defined spacing of 0. The UITextView is used to display a message inside a chat bubble. When the ...
benedom's user avatar
4 votes
2 answers
1k views

Enable personal hotspot programatically in iOS using Swift or Objective-C

I am looking for a way to enable personal Hotspot programatically in iOS using Swift or Objective-C but did not see any API or way to achieve that. My question is that even possible to do that? Does ...
Hussain Shabbir's user avatar
0 votes
1 answer
85 views

iOS Notification Behavior when setting is OFF in device level

What is the expected behaviour of userNotificationCenter:willPresentNotification:withCompletionHandler: when the notification setting for an app is turned OFF in device level? I always assumed no ...
janusfidel's user avatar
  • 8,106
1 vote
1 answer
278 views

Use new UINavigationBarAppearance() API to set navigationBar color on a single ViewController?

I need to setUp a NavigationBar color for a single ViewController. What Im currently doing is setting up the nav color on viewDidLoad() and resetting it to .clear (so it uses whatever color is set on ...
stompy's user avatar
  • 305
-1 votes
2 answers
60 views

How can I add a tableViewCell within another TableViewCell?

I need to implement a cell inside of another cell, is it possible in any way? Or should I just find another way? thanks Edit: Sorry for the brief description, the problem here is that I've got a ...
cesar99's user avatar

15 30 50 per page
1
2 3 4 5
1187