Post

Replies

Boosts

Views

Activity

Network extension web content filter not working in iOS
I have added the Network extension to my app successfully for web content filtering. I have the entitlement file checked for the Networking key and capabilities added as well. Snippet from my entitlements file:<key>com.apple.developer.networking.networkextension</key> <array> <string>content-filter-provider</string> </array>I have also pushed web-content filtering payload from my MDM server which has my app's bundle identifier and type as plug-in. However, I have installed the app on a supervised device from my MDM server as an enterprise app. But none of my log statements get printed from the extension (I assume that the extension is not activated). I haven't configured any rules so far. Just want the extension to run. Am I missing something ? P.S. I am using XCode 9.2(objective-c) and device functioning on iOS 11.0.1.
14
0
4.8k
Nov ’17
Get data usage of an iPhone using ifadders
I am using ifadders to get the total amount of data used by an iphone . The counters return the total number of bytes used up ( sent & received ) perfectly . But my question is that the unsigned int data type of the counters ( max. value 4,294,967,295 ) can return the data till 4GB after which the counter overflows and so , I wanted to know if there is a way to get the counters to continuously give the data usage instead of any manual work around. And how can the ifi_obytes and ifi_ibytes can be resetted to zero without the device needed to restart ?
9
0
3.8k
Oct ’16