Hi,
Is there a way I can find all the permissions which are granted/denied to an app in iOS?
Any particular API which can run through all the permissions at one place?
Post
Replies
Boosts
Views
Activity
Hi,
Is there any API exposed to fetch network security type like "WPA", "WPA2", "WES" or None for iOS device?
Hi,
I want to know if we can detect whether Settings -> Mobile Data -> Wifi Calling option is enabled or not?
I checked and could not find any API which can detect this.
I am also interested to know if we can find a way to know if Wifi Calling is being used in a call.
Hi Everyone,
I am working on an app where I need to determine if a call whether incoming or outgoing is a normal (cellular) call or VOIP call?
And yes, if we can identify if it's a VOIP call, can we also identify the name of the app used for the call?
I am working on an app where I need to detect if the ios device is connected to open wifi or not.
Is there any API which can help detect the same?
Hi,
I am using the below code
CXCallObserver *callObserver = [[CXCallObserver alloc] init];
for(CXCall* call in callObserver.calls)
{
if(call != nil) {
}
}
Is there a way we can determine if it is a voip or call or not.
Hi,
I am using the below code to detect if NFC is enabled or not.
(BOOL)isNFCAvailable
{
if ([NFCNDEFReaderSession readingAvailable])
{
return YES;
}
return NO;
}
I have also added the permission is info.plist file
NFCReaderUsageDescription
Detecting if NFC is enabled or not
I am testing on iphone XS with ios 15.6.1 and on iphone 11 with ios 13.2.2.
In both the cases, the API is returning false.
Can you please let me know if I am missing something.
Hi,
I am using the below code to compute the free memory in iOS.
uint64_t memAvailable()
{
mach_port_t host_port = mach_host_self();
if(host_port == MACH_PORT_NULL)
{
return 0;
}
vm_size_t pagesize;
host_page_size(host_port, &pagesize);
vm_statistics_data_t vm_stat;
mach_msg_type_number_t host_size = sizeof(vm_statistics_data_t) / sizeof(integer_t);
if (host_statistics(host_port, HOST_VM_INFO, (host_info_t)&vm_stat, &host_size) != KERN_SUCCESS)
{
tdlog(LOG_LEVEL_DEBUG, @"Failed to fetch vm statistics");
return 0;
}
/* Stats in bytes */
return vm_stat.free_count * pagesize;
}
My qs is do we need to call mach_port_deallocate() to release the reference count on host_port??
Please advise.
Hi,
I need to programatically compute the free and used RAM in ios using objective C.
Most of the samples I have seen uses host_statistics API, although that works but that API is macOS specific and not iOS.
I am looking for API which is compliant with iOS.
Hi,
I am new to iOS development and currently studying App Attest functionality.
Can someone confirm why the counter value be 0 during attestation validation at the server side.
And also, can this value be reset to 0 at any point of time?
Do we need to do code signoff as well for using App Attest?