@Leena basically i have got a huge code developed by some one else, i am working on to ARC conversion.i am getting leak in cellForRow table delegate method where this custom cell is being used.Basically this custom cell consist of a UiimageView, UILabel, UIView etc.The leak comes in :attaching screen shot:
NSArray *test = [[NSArray alloc] initWithObjects:@"1",@"2", nil]; NSArray *assignedTest = test; //test is no more being used anywhere in code @Leena @NitinGohel
NSData *postData = [NSData dataWithContentsOfURL:self.finalURL]; In this line you please use your video data.. I just taken my video data from a NSURL Don't confuse with that
@AppleMap try to under stand firstly getting file pat from nsbundle main bundle, then getting NSURL from file path ,then getting file name from (last path component) etc
@AppleMap i dont think so ..however take alook at this for better understanding not only code copy/pasthttp://www.iriphon.com/2011/11/09/ios-uploading-an-image-from-your-iphone-to-a-server/
My api like i can request jus 20 records at one time after receiving that only i can req balance records but i wanna show all records in table view at the same time @Leena
@le currently m getting some sqlite data from server and inserting it to local db. At the same I'm performing other operation in db, due to which my app is crashing.
UIKIT_EXTERN NSData *UIImageJPEGRepresentation(UIImage *image, CGFloat compressionQuality); // return image as JPEG. May return nil if image has no CGImageRef or invalid bitmap format. compression is 0(most)..1(least)
@AppleMap Here's some honest advice; a)If you copy-paste code at least go through the code with the documentation to try and understand what it is doing. b)Don't trust any old bit of code you find on the internet.
UIKIT_EXTERN NSData *UIImageJPEGRepresentation(UIImage *image, CGFloat compressionQuality); // return image as JPEG. May return nil if image has no CGImageRef or invalid bitmap format. compression is 0(most)..1(least)
Hey everyone. I'm confused about something. If you place segment/searchbar … in a viewController and that controller is embedded in TabBarController and you add a constraint to searchBar (for ex.) to stretch , on rotate (landscape) you can't tap on the on 320+ pixels (on iPhone) VERY WEIRD…. help?
@NitinGohel My api like i can request jus 20 records at one time after receiving that only i can req balance records but i wanna show all records in table view at the same time
Here is my code for moving,scaling and rotating the UIImageView all work fine but the issue is when we rotate the ImageView it rotates but after then it move inversely like i am dragging toward right but the ImageView is going left
cant we get the current center point after rotating so that we w...
@Abizern @AppleMap is this a bug or … ? placing searchBar in ViewController embedded in tabBarController, in landscape mode you can't tap on 320+ pixels… why?