I am suprised when i upload my music app to AppStore and got this following warning messages.
I used following codes that change the indexBar Background color in my UITableView.
[[self tableViewMain] setSectionIndexColor:[UIColor redColor]];
[[self tableViewMain] setSectionIndexBackgroundColor:[UIColor clearColor]];
What is that and how can i solve it?
It means you have used a private API, That not public one. Apple will generally reject your app if you use this because they are not permitted and if Apple changes the internal system (included this undocumented code) it can crash your app. And people would leave negative reviews.
Please check the Update of you used third-Party Private API Download Latest SDK of it and use this into you existing Project. Hope your Issue solve.
Related
I made an AR app which embedded the UIWebView to display web content on an SCNPlane. I can not use the WKWebView because it does not work well with AR. On the contrary, UIWebView works nice.
If I upload my app into the app store, will my app get rejected?
Also, I notice that on the UIWebView's official document page, there is an certain alert says "An iOS app linked on or after iOS 10.0 must include in its Info.plist file the usage description keys for the types of data it needs to access or it will crash." Do i need to add certain specific description key for the UIWebView?
Thanks in advance!
No. Deprecated doesn't mean unavailable or disallowed; otherwise those methods would simply be removed from the API.Deprecation is a way of letting you know that you should start transitioning your existing codebase.
Deprecated methods may be more primitive and dangerous than newer versions, may not take into account all current OS features.
I have recently tried to submit an iOS app to the Apple Store and it triggered the following warning:
"The app references non-public selectors in My_application.app/My_application: productName"
I have seen prior questions asked in stackoverflow in these links but there has not been any concrete answers to whether or not this causes the app to be rejected.
iTune, App upload warning. App references non-public selectors in : productName
The app references non-public selectors in Payload
In my app, I have built it using Cocos2D 2.0 and Chartboost 3.1.1, FacebookSDK 3.1.1.
There has not been any additional 3rd party APIs integrated into the app.
Has anyone encounter a similar problem using the above mentioned SDKs?
Has anyone had their app rejected because of the warning above?
Please share your experiences so I might be able to rectify this problem within my app.
Thanks so much.
Just submit it to app store, it working for me 3 times. The problem sometimes happens when Apple has changed for new iOS version.
i would love to build a auto-start with OS app which runs in IOS background(like a daemon) and when the phone changed its location the app send some information(userid,GPS,time......)to a web server immediately, in addition to,i want my app has no icon and users can not easily find it is on running or easily delete it. so i just wondering if these is some location-change notification i can hook into so that i can perform my code? anyone give me a good idea? i dont want put my app on appstore instead of i packaged it in deb,so i can use any private api or other non-official methods....
You can use CoreLocation native framework.we can access the current location of the user/device dynamically. follow the link for instructions coreLocation tutorials
According to Apple's Documents and guidelines, I don't think an app can exist without icon. The SDK doesn't have this feature as well. And no private API will be accepted into App Store. However, you can post your project on unofficial AppStores for jailbroken phones.
This has been driving me insane, so any help would be massively appreciated...
A client wants me to develop a prototype iAd-supported version of their existing iPhone app. They have done all the admin side of things to set up iAds. I have created a new target for the app with the iAd code added, but when I run it either in the simulator or on the device I just get bannerView:didFailToReceiveAdWithError: invoked with the message "The operation couldn’t be completed. Ad inventory unavailable".
Question 1: Should test ads appear in any old app, or do even test ads depend on the app being somehow registered for iAds?
Question 2: How can I enable the iAd Network in iTunes Connect for an app still in development? When I go to ITC and try to enable the iAd Network, it seems to expect me to do it on an existing (released) app, but it won't let me change the settings because the app is not in an "editable" state. And I don't want to edit the app anyway, since the iAds are intended for a new, as yet unreleased version. So what do I do for an unreleased app?
I'm amazed that I can't find an answer on these - they seem like fundamental questions...
Question 2: When you get the editable state error on itunesconnect, this is because it's trying to setup iAds on the current version (which if submitted will never had iAds as it has been submitted! - this is what it means by not an editible state).
You need to add a new version (which will be the next version you upload) and then click on the 'Set Up iAd Network' button. Then it will work!
There must be something wrong. I just create a test project, and added 3 lines of code. And I can see test ads.
And I can't remember that I configured anything for my app which is in the app store. Neither in itunes connect nor in the developer portal.
But I usually forget where I put my keys, so YMMV.
To confirm that this is a problem with your app and not your computer and/or internet connection I would create a new View based Project.
Add this to your viewDidLoad method
ADBannerView *adView = [[[ADBannerView alloc] initWithFrame:CGRectZero] autorelease];
adView.delegate = self;
[self.view addSubview:adView];
add the iAd framework and import the <iAd/iAd.h> header.
And see if this works. For me it does.
I got a notification mail after submitting my iphone application to apple store..
"During our review of your application we found it is using private APIs, which is in violation of the iPhone Developer Program License Agreement section 3.3.1; "3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs." While your application has not been rejected, it would be appropriate to resolve this issue in your next update.
The non-public APIs that are included in your application are the following undocumented, private UITouch instance variables:
firstResponder
UITouch._locationInWindow
UITouch._phase
UITouch._previousLocationInWindow
UITouch._tapCount
UITouch._timestamp
UITouch._touchFlags
UITouch._view
UITouch._window
Please resolve this issue in your next update to Application " .
My application contains Three20. These variables are used in "UIViewAdditions.m". Is there any way to resolve this issue ? Please help me. Thanks in advance
Update your copy of Three20 to the latest version (P31), which has this problem resolved.
p31 is a forked branch. You can go that way if you wish, but three20 also has the updates.