Hello,
I would like to take a UIImageView rotate it 90 or so degrees, and then save it to the photoalbums.
I am currently using CGAffineTransform and when I write my rotated photo to the photo albums and then i get the original nonrotated photo saved. I assume this is because CGAffineTransform only rotates the imageview and not the ac...
hi guys, im currently parsing an xml file that is hosted on another PC via hosting a Apache http server which works fine. Now is it possible to code it in such a way that the iPhone deletes the xml file on that pc?
im currently using a NSMutableURLRequest and setting it to an NSData.
NSError * error;
NSURLResponse * response;
NSMuta...
I wonder what is wrong with this?
.h file:
typedef enum {
N4LoupeTypeRound,
N4LoupeTypeRectangle,
} N4LoupeType;
@interface N4LoupeLayer : CALayer {
N4LoupeType _type;
UIView *_originalView;
CALayer *_mask;
CALayer *_overlay;
}
@property (nonatomic) N4LoupeType type;
@property (nonatomic, assign) UIView *origi...
As the title says, suppose I instantiate an UIImage object with imageNamed:.. this creates and returns a pointer to an autocached UIImage object, correct?
What happens if the frameworks decides that its cache needs to be purged (for whatever reason, though most likely running low on memory) ? Do I just get stuck with a dead pointer?
...
The BI platform Pentaho 1.7 used to have an extension that allowed applications to be accessed from iPhone:
http://www.pentaho.com/launch/iPhone
Is it still maintained?
If so, is it available in the Community Edition?
...
I am presenting a UIActionSheet when a user double taps my cell:
Tap Recognition in Cell Init:
UITapGestureRecognizer *doubleTap = [[UITapGestureRecognizer alloc]
initWithTarget:self
action:@selector(handleDoubleTap:)];
[doubleTap setNumb...
Dear All,
Could you please tell me how animate text color of an UILabel?
for example: change color from WHITE to RED then come back to WHITE with fade in effect and repeat in about 3 times.
I need this animation due to my app get real time data from internet, and when value is changed, I need to animate this text value to tell user th...
how to launch symbolicatecrash from Xcode?
I have a crash file with the address, I want transfer the address into symbol which are in my source code.
When using gdb, we can do that gdb ./yourApplication coredumpfile.
I think xcode should have a similar tool for transfer the address into symbols.
...
Where do you store app configurations constants (not user preferences)?
store in Info.plist?
store in SomeOther.plist?
store as static (extern?) constant in a .h?
store as #define somewhere? (where?)
Thanks.
...
I assume that you can include "?" in your sqlite statement, provided in the "executeQuery" method, you pass additional arguments corresponding to each "?". But when I put this to practice, the results are not consistent.
This statement works:
SELECT * FROM answers WHERE test_id = ? and question_id = ?
with this method
FMResultSet *...
I have heard that officially VGA output is not supported by iOS 3, unless not for developers. It this true?
Will an app using this be approved by Apple?
thanks
...
hey what i want to do is select everything from the table and insert data into it if its not already present in the table or update the data if present in the table.
The problem here is if my table is empty there is nothing to select and hence the query is not executed and therefore it neither inserts nor updates my table.
NOTE: My inser...
Looking at some of the reviews on Amazon, I can't help but wonder whether reviews can be trusted anymore - it seems that most iPhone programming book authors have a social network large enough to just mass-perk their friends to post faked good reviews. Anyway, so my question is, what are the good iPhone programming books that you know of...
I am using ASIFormDataRequest to send http requests but they all go to the same function requestFinished. Inside this function how can I know from which request it came from? Is there any way for me to add some kind of tag name to request that comes in?
I would prefer to use one function and have a switch statements instead of having tw...
Can someone please explain what #ifdef..#else..#endif does in this piece of code? It's from an open-source iphone twitter client.
#ifdef ENABLE_OAUTH
@interface NTLNTwitterClient : NTLNOAuthHttpClient {
#else
@interface NTLNTwitterClient : NTLNHttpClient {
#endif
int requestPage;
NSString *screenNameForUserTimeline;
BOOL pa...
I am building an HTML file which will later be emailed through my app. Currently I am creating the html by appending the strings together. This is a painful process.
Is there another way that I can just put a large block of html into an NSString? Currently the line breaks in the string are screwing it up.
...
For custom animations in my app, I can use the setAnimationDidStopSelector: method to respond to the event that an animation has finished. Is there a similar kind of mechanism for detecting that the animation has finished for a standard View Controller animation transition for pushes and pops?
(i.e. [self.navigationController pushView...
Hi,
I m completely new for iPhone development and that is the reason I have a query regarding how to implement scroll view in table view i m using following code
#import <UIKit/UIKit.h>
@class ScrollViewViewController;
@interface ScrollViewAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
ScrollViewViewContro...
Hi
I Have tried
NSString *alertTxt =textfieldName.text;
NSLog(@"Name: %@",alertTxt);
NSURL *urlAddress = [[NSURL alloc ] initWithString: @"%@/login/index.php",alertTxt];
error : too many argument to function initstring ..
the user will giv the url address to the alertText field and i hav to embed in to the webkit may i know the proc...
For iPhone development:
How can I get the timezone and DST information for any place given that I only have geographic coordinates. (NSTimezone does not have any such method)
...