This question already has answers here:
Playing system sound without importing your own
(11 answers)
Closed 9 years ago.
This is just a question that came off of the top of my head, but does anyone know if there are more sounds built into the system besides the (0x450) click sound? I would assume that there are others that can be put into apps since there are a lot more than just one built into the iPhone.
There is a list posted to AudioServices - iPhone Development Wiki. I've not yet figured out if using this in the following way is grounds for rejection:
AudioServicesPlaySystemSound(1103);
Don't forget to include:
#import <AudioToolbox/AudioToolbox.h>
Check all system sounds with: iOSSystemSoundsLibrary
Related
This question already has answers here:
Where are the UIKit Framework implementation files located?
(2 answers)
Closed 6 years ago.
I was just wondering if there is a way to read the internal implementation of Apple's API on ios? For example, is there a way I can see how "setNeedsDisplay()" function of UIView is implemented internally? I think this will help me understand how the code actually works.
The source code to the Apple frameworks is not publicly-available. You can disassemble the framework code, but unless you're really good with assembly language, you probably won't learn much.
This question already has answers here:
Memory leak detection tools
(11 answers)
Closed 6 years ago.
Totally new at Swift 2.
How can I check for Memory Leaks in my app designed in Swift? I was checking in Google but there are too many documents on it. I'm using Xcode 7, do I have to download any tool to do this?
Thank you in advance.
Kindly go through this tool provided by apple.
Instruments
This question already has an answer here:
Is there any way to get the tamper-proof date and time on iPhone?
(1 answer)
Closed 8 years ago.
So, I'm developing an app that is based on the time, but with NSDate an user can easily hack the application by changing system time of the device. So I might want to use a better method for retrieving time.
How can I do this? Is there an easy way to retrieve time from internet?
Checkout this Google Library: https://github.com/jbenet/ios-ntp
After the library is set up you can use it with the following line:
[NSDate networkDate];
A similar question has also been answered here: Get Date and Time from Apple Server
This question already has answers here:
api for showing native calculator in iOS app
(2 answers)
Closed 9 years ago.
Is it possible to start the iPhone calculator from within an iOS app?
I find it really annoying to have to leave an app and open the calculator just to "trig out" a right triangle and then return to the original app. I have a calculator class of my own however I would prefer not to reinvent the wheel for my app; especially with all the edge cases involved with Trig.
Can anyone offer some insight whether this is possible or suggest a possible implementation?
No, the calculator app doesn't have a public schema that you can use
to invoke it
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How can one open a power point document in an iPad application?
I have to present a power point presentation from a web in an ipad application.Is there any free libraries in ios to convert .ppt format in to any other format ??How can I implement animations for that presentation .Please give some idea for implementing the above.
Thanks in advance
I have not tried this but Apple's documentation says that a UIWebView is able to display .ppt documents. Search for their tech. note QA1630 for a complete list of supported types.