Why GSEventLockDevice() not working in ios 7? - objective-c

I am using GSEventLockDevice() in ios 5 & 6 working fine but not working in iOS 7.
why GSEventLockDevice not working in iOS 7?
Please give me a valuable reason.

GSEventLockDevice() is not a public iOS API function. This worked in iOS 5 and 6 because Apple didn't restrict it properly. Chances are if you uploaded the app for iOS 5 and 6 the app would have been denied it because it's a private API.
If you are developing for jailbroken devices read this how to.
Just to make it clear, programmatically locking an iOS device will get your app rejected.

Related

Notification not coming in device while not connected to xcode

I was testing my app for firebase notification in iPad Air, iPhone 6, iPhone 7
All were working fine for a couple of days. But few day ago I found that notification not coming in iPhone 6 while not connected to Xcode.
I have tried resetting certificates, removing app but not succeed.
I'd I restarted iPhone 6 than it works fine.
I don't know how this was fixed but is there any solution for this.
is there any other issue in my code??
Or there is any solution for resetting notification services from code?
please help me. I don't need restarting the phone.
Thanks in advance!!!

I want to access iCloud drive files in iOS 7 , is this possible?

i know by using UIDocumentPickerViewController in iOS 8 we can access iCloud drive and read files .but for iOS 7 I searched a lot i found there is only inner app iCloud configuration. user can create doc and store it on iCLoud but this is stored only in iCloud container related to particular app and sync with it for those created docs.
You can't use iCloud Drive with iOS 7,
Here are the requirements for iCloud Drive:
iPhone, iPad, or iPod touch with iOS 8
Mac with OS X Yosemite
PC with Windows 7 or later and iCloud for Windows
Safari 6 or later, Firefox 22 or later, or Google Chrome 28 or later
An active Internet connection
Please read the FAQs on this support article.

AudioStreamer not buffering in ios7

I have a live radio streaming application developed in ios 5.1. I have used AudioStreamer class for the streaming and MPMusicPlayerController.now its working fine in ios 5,and 6 but in 7 its not buffering. what is there any reason for this? Can anybody hep me please
Thanks

UAAppReviewManager Rate Function Not Working on iOS 7

Hey Stackoverflow People,
I'm working on implementing the UAAppReviewManager tool developed by Urban Apps (which is basically a super version of Appirater) into my app to have a rating and feedback function. I have devices (running iOS 5/6) where I've tested the Rate feature of the tool and its been able to properly redirect the user to the App Store after they select Rate the App from the pop-up dialogue, but for devices using iOS 7, it redirects the user to the App Store app and displays a pop-up saying the following:
The certificate for this server is invalid. You might be connecting to a server that is pretending to be "ax.itunes.apple.com" which could put your confidential information at risk.
Has anybody used this tool on iOS 7 and encountered this message before? If so, does anyone know what the workaround is? It seems iOS 7 processes things differently underneath with URLs and I'm not doing anything different or specific for earlier versions.
I am the developer of UAAppReviewManager. iOS 7 does not allow this url anymore so it was changed to a new value for iOS 7 in UAAppReviewManager. Update to the most recent (0.1.3) as of this writing and you should be fine

iOS6: iPhone app getting restarted on receiving any type of notification in device

While testing our iPhone app in devices with iOS 6 beta 4, we found an issue wherein if any notification like reminder alert is received or when we pull down the notification curtain, the application is restarting from beginning.
It never used to happen like this till iOS 5.X. Apple release notes or known issues of iOS 6 beta did not mention anything regarding this.
Did anyone faced this issue?
Any comments on whats going wrong?
Check in the app's .plist file to see if application somehow got set not to run in the background.