This is sort of a follow on from my last question. I am using beginAnimations:context: to setup an animation block to animate some UITextLabels. However I noticed in the docs that is says: "Use of this method is discouraged in iOS 4.0 and later. You should use the block-based animation methods instead."
My question is I would love to us...
I'm trying to use the NSFetchedResultsController in my app, but have a problem to sort my data. I get the following error when trying to sort the result using a relationship that is two levels down from the entity:
* Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'to-many key not allowed here'
M...
Hi,
I have a singleton class which is used to display data across various views.
There is one TableView which is used to delete/insert rows. I have a button that changes between Edit/Done
to allow Editing. 'streams is a variable within the Singleton class'
- (void)setEditing:(BOOL)flag animated:(BOOL)animated{
int count =...
I have written some code in C++ with a corresponding C interface (i.e C-function wrappers around the classes) that a friend wants to use in an iPhone application.
Since I heard you can compile C++ for the plattform, but not use the iPhone sdk at the same time (sic) I thought that compiling all the code into a static library that my frie...
I've gone for a simple approach, I've created some NSString variables which I set when the view load...
strKeptDesc = txtDescription.text;
NSLog(@"KDesc =#%@# CDesc =#%@#",strKeptDesc, txtDescription.text);
Which works as excepted and output the values you'd expect.
However in my db commit function, when I check the variables I ge...
Looking for iPhone Live video streaming tutorial, i have read HTTP Streaming protocol
at http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html, but not able to understand how to practically implement this feature on iphone....!
Can you help me out...!
Tha...
//Initialize the detail view controller and display it.
OrderDetailsView *dvController = [[OrderDetailsView alloc] initWithNibName:@"OrderDetailsView" bundle:[NSBundle mainBundle]];
dvController.selectedOrder = (@"%@",selectedOrder);
[self.navigationController pushViewController:dvController animated:YES];
[dvController release];
dvContr...
Who can post an example of asihttprequest used on wordpress post?
EDIT
I want to use asihttprequest for get in one array obeject all post and relative image of my homepage http://www.notizie-informatiche.com
...
Hello All,
I am working on module where I need to perform following activities.
Select image from Library.
Show that image.
Zoom that image.
Save the Zoomed portion or visible portion on the view.so that final image will get saved with zoomed.
I have covered 1,2,3 and struggling with 4
Does anyone have idea about this?
Thanks,
Sa...
My app uses local Bluetooth to propogate data to a closed network, but it understandably crashes the program if you try and create a new network when Bluetooth is unavailable. I've no idea WHY Bluetooth is unavailable, incidentally, as it's turned ON in the iPod preferences and the symbol is showing up, but there you go. What I want to k...
hi ,
Any one know how to create an app in such a way that when the application loads the uitabbr items are not selected(highlighted)..
need to display a view in window on load..no need to display tabbar item contents until click on tabbar button item..?
please help me..
...
is MPMoviePlayerController only use to play ipod music ?.
...
I want to make the font size smaller for the text in the buttons of my action sheet as my text is longer than the width.
How can I make the font size smaller?
I'm guessing as you can add things like picker views to action sheets that I may need to add my own buttons to the action sheet, if so how ?
I need an example.
EDIT: I've made ...
How is internally the maximum size of stack and Heap is set? How can we determine its maximum size? I am not using it for any of my projects. But this is just out of curiosity.
...
Hi
I am looking for an optimized solution to display image in different screen size.
I have a image in server which I would like to display in different handled devices like iPhone, iPad ,Android based tablets or mobiles etc.
Some of the solution I have thought of are
Have different images in server for each screen size.
Have a sin...
How can i handle notifications like message send ,message receive,call ended , and other
while my application in background ..
i am confused what to do and what & where to add, in my code ... please help me i am trying it from 2days
i read http://blogs.oreilly.com/iphone/2008/02/programmatically-handling-ipho.html
but not understand a...
Hi - I've created an object called 'DateTracker' which conforms to NSCoding, so it contains encodeWithCoder and initWithCoder methods. When I initialise it, I call the following:
DateTracker *currentTracker = [[DateTracker alloc] initFromFile];
The initFromFile method looks like this:
- (id)initFromFile {
NSString *filePath = [s...
I want to play a song global in iPhone. If I quit the sound application and I dont pause the song then that song play globle in iphone.
...
Hi,
I want to apply this workaround but I cannot find the "Run Script" setting, property, flag?
I can see it in the temporary script file that is created on build.
BR
...
I've discovered by tests that setting a low desired accuracy for CLLocationManager leads to a buggy behavior of this component.
Here are the 2 tests I've made :
Set the desired accuracy to kCLLocationAccuracyHundredMeters. Then the device can't find my position as accurately as I want. Here are the logs from my CLLocationManager's del...