Open kexoth opened 9 years ago
Hey! What device are you using?
Andrea Mario Lufino iOS Dev & Expert http://about.aliosdev.com
Il giorno 23/lug/2015, alle ore 20:03, Aleksandar Kex Trpeski notifications@github.com ha scritto:
Hey @andrealufino https://github.com/andrealufino ALBattery remaining hours methods don't work for me. As I saw the infoForDevice method returns nil on device & on simulator it returns the dictionary, but doesn't find the needed data & it returns in both situations "NS".
It applies for all the methods listed:
- (NSString *)remainingHoursForStandby;
- (NSString *)remainingHoursFor3gConversation;
- (NSString *)remainingHoursFor2gConversation;
- (NSString *)remainingHoursForInternet3g;
- (NSString *)remainingHoursForInternetWiFi;
- (NSString *)remainingHoursForVideo;
- (NSString *)remainingHoursForAudio; Any idea why is that so, any changes in Apple's API maybe?
Thanks for the library,
@kexoth https://github.com/kexoth — Reply to this email directly or view it on GitHub https://github.com/andrealufino/ALSystemUtilities/issues/13.
I wrote you that one too: "Tested on iPhone 5 with iOS 8.4, iOS & iOS Simulator with iOS 8.2."
Thanks for the feedback.
Any luck with that?
Hey @andrealufino
ALBattery remaining hours methods don't work for me. As I saw the infoForDevice method returns
nil
on device & on simulator it returns the dictionary, but doesn't find the needed data & it returns in both situations "NS".Tested on iPhone 5 with iOS 8.4, iOS & iOS Simulator with iOS 8.2.
It applies for all the methods listed:
+ (NSString *)remainingHoursForStandby;
+ (NSString *)remainingHoursFor3gConversation;
+ (NSString *)remainingHoursFor2gConversation;
+ (NSString *)remainingHoursForInternet3g;
+ (NSString *)remainingHoursForInternetWiFi;
+ (NSString *)remainingHoursForVideo;
+ (NSString *)remainingHoursForAudio;
Any idea why is that so, any changes in Apple's API maybe?
Thanks for the library,
@kexoth