As you know that, In-App Purchase can be turned on and off from Settings->General->Restrictions. Now i am wondering, is there any way to check the status of of In-App Purchase programmatically, before we actually make any payment.
iPhone: Check In-App Purchase status Programmatically
1.5k views Asked by Ansari At
2
There are 2 answers
Related Questions in IPHONE
- How to control the volume of an iPhone programmatically in objective-c
- my website crash on safari The site sometimes crashes and I can't recover the crash
- Postal Framework crash in iPhone but runs successfully in simulator
- Xcode 15 building failure when using iphone 15 as simulator, using ios 17
- Images uploaded via Active Storage not displaying in Active Admin or on certain devices
- Any problem with creating provisioning profile with old Iphone?
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- Keyboard not appearing when connecting smart card reader to iPhones with type-c port. i.e. iPhone 15/ 15 pro
- Access the list of SIM mobile numbers installed in the iPhone
- Can we produce haptics and record from microphone the haptic sound at the same time on iOS?
- SwiftUI's localized string do not load from main bundle despite using the main bundle identifier (an xcode bug?)
- Cordova iOS only app upload through transport requires WKWatchKitApp
- Amazon s3 video is not played on Iphone
- build getting failed for ios xcode build -flutter app
- "Error when Importing 'mysdk' into iOS Demo App: dyld Library not loaded: @rpath/MQTTClient.framework/MQTTClient"
Related Questions in OBJECTIVE-C
- How to control the volume of an iPhone programmatically in objective-c
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- How to set value the descriptor of iOS BLE in Objective-C?
- Unexpected #selector() Behavior in Swift-Objective-C Interop?
- In what context can we use an unqualified #selector() expression in Swift?
- AVPictureInPictureController crashes during initialization
- How to use pow() in Objective-C?
- How to change the image on the MGSwipeButton in MGSwipeTableCell
- Using sort descriptors in Outline View
- Why is my Swift function not printing from inside the dataTask closure?
- Using UICollectionViewCell with IBOutlet
- Undefined symbol: _OBJC_CLASS_$_ only on simulator
- Why can't I receive a notification sent from Camera Extension(Swift) to an observer application (obj-c++)
- Behavior of __block modifier in objc
- Inserting subview into view where I've added subviews and sublayers
Related Questions in IN-APP-PURCHASE
- TypeError: _appStoreServerLibrary.SignedDataVerifier is not a constructor node js app-store-server-library
- macOS in-app purchases via dylib - is it possible? alternatives? suggestions?
- StoreKit 2: Custom purchase option isn't recorded
- ios sdk swift : Show in-app app update/install prompt
- purchase errors via 2accounts
- How to handle Apple subscription with serverside verification
- IOS IAP succeed but does not charge the user
- Can't add iOS sandbox test credit cards
- Cannot see free trial in Android/Play store using Flutter in_app_purchase
- Can an iOS app sell user created content with In-App Purchases?
- Flutter in_app_purchase multiple subscriptions
- iOS 17.4 Code=4097 "connection to service named com.apple.storekitd"
- Is there any way to handle promocode in flutter?
- How I can know if the user cancel the subscription from google play store using in_app_purchase Flutter?
- Unity IAP AppleOriginalTransactionID is empty
Related Questions in MKSTOREKIT
- MKStoreKit Auto Renewing Subscription Expiry Date Always Returns Current Date
- "product_id" missing from App Store Receipts fields
- 'NSInvalidArgumentException', reason: '-[_UIBackgroundTaskInfo setStoreObserver:]: unrecognized selector sent to instance 0x282b20780'
- Is MKStoreKit still maintained and fully compatible to iOS 12?
- How to use fields in ASN Local receipts while evaluating iOS Auto-Renewable iAP?
- Xcode 9 Linker Error, undefined symbols for architecture armv7
- MKStoreKit 6.0 how to check auto renewable subscriptions
- How can i check product is purchased in ios?
- Can I persist SKProduct to disk to speed up in app purchases (remove network calls)?
- Get local price for IAP using MKStoreKit
- IAP is working with TestFlight build. Is it will work Live app Also?
- Unable to get IAP products with live App, While It is working fine with Sandox Accounts?
- MKStoreKit restore purchases always success
- How to check if the Auto-renewable subscription active? Or: MKStoreKit's purchase record is always Null
- MKStoreKit NSRangeException during in-app purchase
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I've got the solution in SKPaymentQueue class. I am using the "canMakePayments" method to check the restrictions on In-App Purchases.
From Apple Documentation:
SKPaymentQueue Class Reference: canMakePayments
Sample Code: