I unsuccessfully tried to implement a playback audio that continues to play in background by setting the UIBackgroundModes property and by activating an audio session as Joshua Weinberg suggested, but it doesn't work on the simulator and I have no chance to test on a device with iOS4. I read about of a possible issue with the simulator, ...
Hi all.
As we all knew that apple has put new iBook to read ebooks and for that they have provided so many good functionalities.
my questions is have they provided any new api or sample to add such kind of functionality in our applications??
another things like page curling effect for the web views ,as it is not possible to give such ...
I'm making an app to allow me to stitch images together into a panoramic scene. I want to be able to turn the Flash LED on the iPhone 4 programatically.
How can I do this?
I read the documentation and discovered that I need to use AVCaptureFlashMode
but I can't figure out how 2 use it?
any help would be appreciated.
Updated Code b...
Hi,
I am having a scrollview, to its layer i am adding a CAScrollLayer as subview, to the CAScrollLayer i am adding layers of 5 imageviews. We do this in viewDidLoad of the viewController whose subview is the scrollview.
Now i add a button's layer as sublayer to one of the sublayers of the CAScrollLayer, this is executed after making a...
I have a project with two Info.plist files (one for each target). In the second Info.plist, when I add a field it shows the internal name instead of the English name. For example UISupportedInterfaceOrientations instead of "Supported Interface Orientations".
Also, when I click on the dropdown list to see all options, some of the options...
Can a view controller interact with the HTML elements contained in a web page that's rendered by a UIWebView? Is there any access to the DOM, like there is in a C# form and a contained WebControl?
...
Hi,
I have to developp an app that uses Push Notification in a particular way, and I had a pretty tricky question : can the device token be stored locally in the app sandbox?
Here's the why : this app should implement a notification system that allows the user to subscribe for some particular events only, from the iphone.
So to do so, ...
Hello,
I need a way to get the inout from the microphone and determine the the average frequency. Is there a library or something to handle this?
Thanks
...
I have table with a NSFetchedResultsController datasource and delegate. I have another view controller (only for displaying detail) which can be pushed from the table. However, when the vc is pushed, a call to the NSFetchedResultsController "...didChangeObject" method is received for the "update" type. However, the vc being pushed does n...
I have the last version of OCMock (1.55) and XCode 3.2.3.
I have created a test bundle target in my project. What is the best way to use OCMock in my tests?
When I add OCMock.framework to the test bundle, this build error appears:
"_OBJC_CLASS_$_OCMockObject", referenced from:
objc-class-ref-to-OCMockObject in NotificationTests.o
...
I'm trying to mash in a simple blur on an image I'm rendering in OpenGL ES 1.1. I've looked around and found various suggestions for how this might be done, but none that have given good results.
It seems best to render the image to a texture, which I do, as most of the options I've seen online operate on textures rather than anything e...
Hi!
I'm new in iPhone development, can you advice me how to serialize AdressBook records?
I have read stackoverflow - How do I serialize a simple object in iPhone sdk, but I still have questions:
should I extend ABRecordRef? Is it possible? Or should I implement own class NSObject?
(similar question was on Mac forums and was left with...
Hi all,
I've some memory issues with a view controller that contains a text field.
Brief summary:
Clicking on a button my application modally presents a UIViewController (that I will call "VC1").
From VC1 the user can optionally open (using pushViewController) a UITableViewController ("VC2") and turn back.
From VC1 the user can optional...
This is probably a really simple question but I can't seem to find anything in the APIs or across any search engine.
I have a Segmented control that i have set to momentary as a user will select a couple of makes of a car that they want to search for. The issue that I'm running into is that I can't seem to figure out how to recognize wh...
So I'm working on a simple iPhone game and am trying to make a local high score table. I want to make an array and push the highest scores into it. Below is the code I have so far:
CGFloat score;
score=delegate.score;
NSInteger currentindex=0;
for (CGFloat *oldscore in highscores)
{
if (score>oldscore)
...
I have a method in my UIView subclass "Card" to dismiss an instance by fading its alpha from 1 to 0. I do a similar thing when I add the card to the superview and it fades in fine. But when I call fadeAway, it just disappears immediately. The presentation code is in my controller class. Here is my Card.h and Card.m
#import <UIKit/...
I'd like to make requests from an iphone app to a web service I've built. How can I verify that requests made to the web service come from my iphone app (or indeed any authorised source) and are not forged?
I have looked at basic auth over HTTPS but is baking credentials into an application secure?
This question isn't really iphone spe...
Hello all I am working On Iphone Os 4.0 ,in that I have some html webpages which changes dynamically .
So could any one explain the way how the html file parsing in Iphone os 4.0
Thanks all
...
Hello!
I'm writing an iPhone application which uses UIView with a CAEAGLayer as its layer. Everything is fine and working apart from 1 small problem: sometimes it crashes with EXC_BAD_ACCESS and the following stack trace:
[EAGLView draw]
glDrawArrays_Exec
PrepareToDraw
DrawFramebufferMakeResident
AttachmentMakeResid...
Hi everyone, I've tried to find some info on the Internet, but couldn't.
I'm new to iphone development, but I have already learnt something. I've created application which parses RSS feed and shows it, but I haven't got a clue how to show user which items he has already read and which hasn't. I have some ideas but I don't know are they ...