I have an .aifc file of about 2 minutes that I'm playing using AVAudioPlayer. When I send stop I hear a short 'tick'. When I send play after that I hear the tick again.
I tried setting volume to 0 before sending the play and stop methods, but that didn't work.
The tick is somewhat comparable to the sound you hear when you disconnect yo...
I've finally managed to add an Like button to my website, using the OpenGraph protocol and that FBXML thing, similar to this:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://mywebsiteURL.com" layout="button_count" colorscheme="dark"></fb:like>
In my iPhone app there's an UIWebV...
Just finishing off my first iPhone app - it seems to be working fine in the simulator but on the phone the motion event's timestamp is returning 0.00 ?
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event{
NSLog(@"shaketime = %@", event);
}
in the simulator:
shaketime = <UIMotionEvent: 0x591b2f0> timestamp: 31467...
hi i wished to randomly load a view. the views are called view1 view2 and view3 below is the code im using. can any one tell me the the code i should place in the case section to replace - (void)viewDidLoad self.view = view1; etc as this is not working thanks
- (void)viewDidLoad {
[super viewDidLoad];
NSString *title = nil;
NSS...
As a developer What are your thoughts on UI design when Developing 1 mobile app for both iPhone and android..
Since the application will not be developed for a specific mobile device there are two options in regards to UI
build the application using native UI (one for iphone, another for android)
build the application using custom UI ...
I have seen that my app crashes when used with the Allocation Instrument. When looking at the device logs, I can tell that it is a 'Low memory' crash. My app process in addition to others used by my app were jettisoned. Here is how the device logs look:
MyAPP <09da004ccd82e7a2c54e0ea6ab4eab24> 1990 (jettisoned) (active)
MobilePhon...
Hey guys,
I'm trying to allow users to record or choose a video in my iPhone app, limited to 30 seconds. The videos are uploaded to my web-server, then played back in the app using UIWebView.
The app happily plays back recorded videos, but on older iPhones (3G for example) it won't play videos that were chosen from the camera roll. T...
Default.png for iphone, Default4.png for iPhone 4 (or is it [email protected]?), and Default-iPad.png. Is that correct?
...
Hi I have 6 buttons on the iphone - 4 on corners and 1 on right center and another on leftcenter - something like what this dude has it
http://www.youtube.com/watch?v=7lzbVURh4mM&feature=channel
I want to do what he does, using IB, programatically.
Anyone any help on autosizing.
...
I'll release my first app soon, and I'm afraid of getting dozens of bug mails from users every day. Tapbots for example have a great Ticket System in place. When you send them an support inquiry from their web form, you immediately get an email in return with an big ID in the subject, and some professional text like "please always provid...
Let said currently I want to pull a XML file from a server which include name, text, video, image & etc. Can HTML 5 directly read the XML and put it into the html body or I can only use JavaScript to pull the information. Will it be the same in the iPhone when using PhoneGap to develop?
Thank in advanced.
...
Hi Guys,
I have a map View which loads from the world map and zoom to the user location. On the same View I have a button which takes me to Second view. When I go back from second view to Map view again, It again loads from World Map and zoom in to the User location which is not good. I want the Map should show the last zoomed in locati...
i have a doubt which i want to clear
1) lets say i have 4 button on tabbar and they are loading tableVC when you press them, so can i use same tableVC for all??
2) ok lets say i am using different tableVC but then you press on detail section , t*hen can i use same detailSection VC for all others ,*
or i need seperate tableVC and sepe...
Is there any way to determine whether location services have been disabled for a specific app? The problem is that [CLLocationManager locationServicesEnabled] returns YES even if location services have been disabled for a specific app...
...
I'm creating a Dashcode App that displays products that have won one or more awards.
The Data Source has a column/field for each award that the product may win (products may win multiple awards). The column has 'Y' if they won that award and is null if they didn't.
So I'm binding the column from the data source to an image object and ...
Hello,
I tried to use the ZipKit framework (http://bitbucket.org/kolpanic/zipkit/wiki/UsingZipKit) in the test application for iPad. I followed the "Traditional way" of the installation (as it is described on their page) with no success. Hope somebody can help me with it:
1/ I used hg to get sources
2/ I build the ZipKit project (Re...
I have a transparent view sitting on top of a UITextView which is responsible for allowing the user to drag images around. However, if the user isn't touching an image, I'd like to pass the touch events to the UITextView so the user can bring the keyboard up, type, copy, etc. just as if there wasn't a view on top of it. How is this accom...
While using a UIActionSheet in an iphone app, the typical methods of matching actions to buttons seem very fragile and aesthetically unpleasant. Perhaps its due to my minimal C/C++ background (more Perl, Java, Lisp and others). Matching on button indexes just seems like too many magic numbers and too disconnected to avoid simple logica...
I have an app that I want to distribute to 3.1.x devices, but I don't have a device to test on. I ran the app on another dev's 3.1 device, and it crashes, so I definitely have some debugging to do. Rather than find and buy an old 3.x device, I'd like to run a 3.1.x Simulator.
Is there any way to do that?
I have upgraded my XCode instal...
I am not sure why this error is being thrown when my application is validated for submission. My application is marked as iPhone application with icon.png as 57 X 57. The error says: iPad:icon.png icon dimensions (57X57) don't meet the size requirements. The icon must be 72X72 pixels, in .png format.
...