Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a custom alert view class with layoutsubviews and draw rect method.Is Apple rejecting because of it?
Thanks
People add subviews to UIAlertView all the time, usually textFields and activityIndicators. I don't see why custom drawing would be out the question. Don't incorporate any private methods, Apple review has an automated test that will detect that.
If you get rejected you will get an explicit reason, so you'll know what to fix.
If you're that paranoid, just create a UIView subclass that resembles an AlertView. You'll need some photoshop chops though :-)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
how can i set image to UIswitch on the white round part
Do not try to modify the UISwitch. Instead create your custom control that you will be able to fully customize. Subclass the UIControl and implement your own user interface. As a reference this repo may help you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm currently trying to create a clicker game which shows how much money you receive when clicking. I'm new to Xcode and swift, but this seems like it should be pretty easy. I would like the score to show how much you earn each time you click it. These labels would appear then disappear quickly. Here is what it would look like:
Any and all help in furthering the clicker game (tips, etc.) would be greatly appreciated :)
you can add a tap gesture to your view controller and in that UITapGestureRecognizer selector you can do your code to increment count.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I wondering, how can I add uitableview in the Alert?
In my app I have an uitableview and if the user press in one row is going to show a dialog with a table (the table have some action).
How can I made this behavior in IOS 7?
I just try this library https://github.com/wimagguc/ios-custom-alertview but I couldn't fix my issue.
Regards,
David
Since there is not option to this in the standard UIAlertView you will have to make your own class.
Because the UIAlertView clear states:
Subclassing Notes
The UIAlertView class is intended to be used as-is and does not support subclassing. The view hierarchy for this
class is private and must not be modifie
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have an arrow that points to the bottom for each table cell. When you click on a table cell, the screen doesn't move to another screen. Rather, the bottom picker changes depending on which cell you selected.
Is this workflow acceptable according to Apple, or does it break guidelines?
This is not against the apple gui guidelines, and you are free to do this as you like.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
Apple requires you to make your app work nicely, whether iAds are available or not, which makes perfect sense. What I'm wondering about is the transition between those two states.
Should I create a view that has a space for an iAd and push it to the screen. If no iAds are available, I then have to remove the ADBannerView once the view is shown.
Or, should I create a view that has no space for an iAd in the first place and create such a space whenever an iAd finished loading?
Apple seems to use the first scenario. But I find it visually more appealing when the Ads slide in, once they are loaded rather than sliding out a failed ad. What do you think? Is there any reason not to go for the second scenario?
The second approach seems reasonable and more pleasing. It comes with a cost on the implementation / design side. If this doesn't matter, go for it.