Hi all.
I am displaying 10 feed in UItable view and below i have added a button with name load more 20.. by clicking this button i am passing argument to the xml and in return i want to reload the table view with fresh content.
welll my question is that how to the view again.
i am trying somthing like this
-(IBAction)loadMore20
{
...
Hi guys,
I use JSON framework in my iPhone application to send text user input to server. This data will be stored in DB and displayed on web afterwards.
I want to ask what I should be aware of safety-wise.
I tried to add to my input different symbols (like ":" , "} and so on) to close/break my JSON but it seems that JSON Framework ...
hi i am new to iphone.I need to create gallery, for that i am using scrollview,my code for scrollview is as fallows
UIScrollView *view = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 400, 100, 200)];
int row = 0;
int column = 0;
for(int i = 0; i < _thumbs.count; ++i) {
UIImage *thumb = [_thumbs objectAt...
Hello,
In some part of my app I replace the db.sqlite file used by CoreData to store all my app data but the loaded data doesn't change. I noticed that the new data is only shown when I restart the app. Maybe someone can explain-me why this happens and how to solve it.
Thank you very much,
...
Hi all
how can I learn total number of characters a UITextView shows in its specific contentSize after UILineBreakModeWordWrap applied.
I will use different strings everytime as the text of UITextView.
The strings are much longer than UITextView with its specified area can contain. The visible characters will be different for every di...
what is NSNotification Center ? why is it used ? (iPhone SDK)
...
Some time ago I developed an app for a client. It's basically a simple calculator. Because they like it so much they asked me if it would be possible to create dashboard widget with the same functionality based on the iPhone app.
I have never before developed a widget, I only know that they are mostly html + css based, so this raises a ...
how to play live streaming video using mpmovieplayer in iphone sdk ?
...
Currently I am saving and image with the following method in "saved photos album".
UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
Now I want to associate the current latitude and longitude with that image.
How can I do so ?
Can I do with its mediaInfo dictionary (metadata).
...
I am drawing a pie chart, each slice has a different color. I need to give the slices a textured look, not just the plain color. Any ideas how to do this? I don't want to use a image to use as a texture for all the possible colors. So I need to generate a texture or something like that. Any ideas. Thank You!
ps: this is an iphone projec...
Hi there
I have all my subviews set up so that they are based on self.view.
EG: UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(0,0,(self.view.frame.size.width-20),(self.view.frame.size.height-90))];
however when the view rotates (shouldRotateToDeviceOrientation or whatever) the views all stay the same size. How can...
I've got a long string an sql statement, which I want to wrap onto the next line in the xcode editor, how do I wrap it round e.g.
[db executeUpdate:@"insert into test (rid, one, two, amount, startdate, recurrance) values (nil, ?, ?, ?, ?, ?)",
...
Hi.
If a Core Data relationship has an inverse relationship do you only need to set one of the relationships objects then the corresponding relationship is setup?
In the past I have set both relationships but when looking at iPhone Core Data Recipes it seems they only set 1 of the relationships?
Thanks
James
...
I want to make a book rather like The Pedlar Lady for iPad. Each page has some rich text, and then an animation with sound effects that runs automatically after the user flips to a new page.
I have some idea how I could do that programmatically - Cocos2D is looking pretty useful - but what I don't know is how I could work with my artist...
I have a managed Object Model that contains 2 Entities.
One of the entities (Lets Call it EA) calculates it's properties by referencing some properties in a sub-set of the second entity (Call it EB).
Within EA I have set up a "Fetched Property" with a predicate that returns the subset of EB objects that I need.
When I Delete, Insert a...
I have an ivar which is alloc-inited in the init of an object:
attString = [[NSMutableAttributedString alloc] init];
On a loop, I want to clear the contents of attString and re-use it. How do I do this?
Thanks!
...
I have 15 rows in my table. When I select the first row and scroll to last row of the table, and come to back to the first row, my selection is reset. How can I fix this row selection reset issue when scrolling the table?
...
Hello,
I'm using UISwipeGestureRecognizer successfully to capture and action when gestures on the screen are made with single or multiple touches in Up, down left or right directions using the standard tools.
However what I really need to do now is have the device recognize diagonal swipes in the same way.
Does anyone have any ideas wh...
Hi all,
I have received a Crash Report from Apple (joy). I understand I can symbolize this report in order to see what is crashing in my code. I understand I need the dSYM and build binary to do this.
My question is what are the exact steps I need to follow in xCode to do this ? I have the build folder I submitted via iTunes connect st...
I haven't been able to find out how many iPhone users are on each device and OS. Anyone have these stats somewhere? Does Apple release this somewhere?
...