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.
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 12 months ago.
Improve this question
I am building a flutter app where i use some flutter-animations tag like hero tag which is useful to take a picture from one screen to another using smooth animation. Now i wonder, when we see animations which are not like an image to shows in just one go but it shows in frame by frame and for every frame flutter change it's state then it must be slow down the performance of app in my opinon. What you say sir?
Yes. But by that same logic, showing anything on the screen also slows the app down. Why even have an image at all? Why not just display an empty screen?
So clearly, the real question is: is the tradeoff worth it, does it make your app drop below 60 fps or whatever you are targeting? Does adding an animation make your app easier to use and more polished? In almost all cases, the answer is yes, adding animations is well worth it.
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 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 :-)
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 3 years ago.
Improve this question
I'm making an iPhone app that primarily focuses on loading webpages in UIWebviews. To show the user that the web page is currently loading, I'd like the screen to display a loading animation while the page loads, similar to the eBay app:
How can I do this? Or, at least, what UIWebView methods could I use to tell me if the page is loading and that there is internet connection (so it's not blindly trying to load forever).
You can use MBProgressHUD, a open source component which will do a lot of the work for you.
You'll need to create a delegate of the UIWebView and respond to the didStartLoading and didFinishLoading messages (that's when you'll show an hide the progress view).
A simple way is just having it there until you need it and setting the alpha from 0 to 1.
You would just need a gray thing (or whatever that thing is) and a activity indicator.
You could also dig into the alerts section in apple but I think the above is easier.
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
So I have an Application that involves sending emails through an API. What I would like is that to have the same or similar to compose email interface available on the phone already.
Unfortunately in all apples Goodness there is no view that just does that.
[AppleComposeMailViewController alloc];
Would do the trick nicely.
So I have started down the strategy of using a UItableViewController. I have had sucess until i try and Add a dynamically expanding cell on the end for Content.
Should I keep down this path or try implementing from the UIScrollView Base?
If the Table view is the way to go how would i go about getting a TextView into the Last cell that expands as a user types.
IF I go UIScrollView, what are some strategies i can use to make implementing the top table like views easier.
In App Email is available in iPhone OS 3.0 and should do just what you describe. Check out MessageUI.
check out the great 'e-mail' composer in the Three20 framework (screenshot)