our app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines. We’ve attached screenshot(s) for your reference. Next Steps Please revise the NSLocationAlwaysUsageDescription value in the Info.plist to specify the intended purpose of using the user’s location while the app is in the background. Resources For additional information and instructions on configuring and presenting an alert, see the Requesting Permission section of the iOS Human Interface Guidelines and the Information Property List Key Reference.

ANS : you need to clarify Apple why you use location service
“NSLocationAlwaysUsageDescription” and “NSLocationWhenInUseUsageDescription”

add this in info.plist in above Description :
Your location may be shown on the map and is used to provide things such as directions and nearby search results..

error An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://pguat.paytm.com/paytmchecksum/paytmCheckSumGenerator.jsp, NSErrorFailingURLStringKey=https://pguat.paytm.com/paytmchecksum/paytmCheckSumGenerator.jsp, NSErrorClientCertificateStateKey=0} response= (null)

error
An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://pguat.paytm.com/paytmchecksum/paytmCheckSumGenerator.jsp, NSErrorFailingURLStringKey=https://pguat.paytm.com/paytmchecksum/paytmCheckSumGenerator.jsp, NSErrorClientCertificateStateKey=0} response= (null)

This Type of erro occur then do as below:

1. goto info.plist
2.Add key App Transport Security Settings
3.Now click on arrow and again click on Plus of App Transport Security Settings
4.Add another Key to sub and key name is Allow Arbitrary Loads give it to BOOL as YES.

By BBUniversal team

error “_OBJC_CLASS_$_CAMediaTimingFunction”, referenced from: objc-class-ref-to-CAMediaTimingFunction in mainViewController_iPad.o “_OBJC_CLASS_$_CABasicAnimation”, referenced from: objc-class-ref-to-CABasicAnimation in mainViewController_iPad.o “_kCAMediaTimingFunctionEaseIn”, referenced from: _kCAMediaTimingFunctionEaseIn$non_lazy_ptr in mainViewController_iPad.o (maybe you meant: _kCAMediaTimingFunctionEaseIn$non_lazy_ptr) “_OBJC_CLASS_$_CAKeyframeAnimation”, referenced from: objc-class-ref-to-CAKeyframeAnimation in mainViewController_iPad.o “_OBJC_CLASS_$_CAAnimationGroup”, referenced from: objc-class-ref-to-CAAnimationGroup in mainViewController_iPad.o “_CATransform3DIdentity”, referenced from: _CATransform3DIdentity$non_lazy_ptr in mainViewController_iPad.o (maybe you meant: _CATransform3DIdentity$non_lazy_ptr) ld: symbol(s) not found collect2: ld returned 1 exit status

error

“_OBJC_CLASS_$_CAMediaTimingFunction”, referenced from:
objc-class-ref-to-CAMediaTimingFunction in mainViewController_iPad.o

“_OBJC_CLASS_$_CABasicAnimation”, referenced from:
objc-class-ref-to-CABasicAnimation in mainViewController_iPad.o

“_kCAMediaTimingFunctionEaseIn”, referenced from:
_kCAMediaTimingFunctionEaseIn$non_lazy_ptr in mainViewController_iPad.o
(maybe you meant: _kCAMediaTimingFunctionEaseIn$non_lazy_ptr)

“_OBJC_CLASS_$_CAKeyframeAnimation”, referenced from:
objc-class-ref-to-CAKeyframeAnimation in mainViewController_iPad.o

“_OBJC_CLASS_$_CAAnimationGroup”, referenced from:
objc-class-ref-to-CAAnimationGroup in mainViewController_iPad.o

“_CATransform3DIdentity”, referenced from:
_CATransform3DIdentity$non_lazy_ptr in mainViewController_iPad.o
(maybe you meant: _CATransform3DIdentity$non_lazy_ptr)

ld: symbol(s) not found
collect2: ld returned 1 exit status

This Type error Occur then then do as below:

1 General > linker frameWork and libraries
2. Remove QuartzCore.framework
3.check and remove duplicate QuartzCore.framework at linker frameWork and libraries

 

By BBUniversal Team

How to Popup Native iOS Share Option

1. Add below code onUI Button event and any other event control ui.
2. Add below code

let myWebsite = URL(string: “http://www.someurl.com/”)

let text = “This is some text that I want to share.”

let textToShare = [text,myWebsite!] as [Any]
let activityViewController = UIActivityViewController(activityItems: textToShare, applicationActivities: nil)
activityViewController.popoverPresentationController?.sourceView = self.view
self.present(activityViewController, animated: true, completion: nil)

By BBUniversal Team

How to change rootViewController

1. Put navigation Before the ViewController.

2. Add below code in didFinishLaunchingWithOptions:

let mainStoryBoard = UIStoryboard(name: “Main”, bundle: nil)
let nvViewController = mainStoryBoard.instantiateViewController(withIdentifier: “Your_Naviagtion_stoaryBoard_given_name”) as! UINavigationController
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.window?.rootViewController = nvNavigationViewController

By BBuniversal Team

Stop Swip Gesture in iOS

Post Here,Your error Or Solution.For Objective C

Self.navigationController.interactivePopgestureRecognizer.enabled = NO;

For Swift

navigationController?.interactionPopGestureRecognizer?.enabled = falseYour Post successfully Submitted.Thank you for post and Stay connect with us.