Posts

Showing posts from February, 2015

Why do I see Low Memory Warnings on UIImage View Load?

UIImage representation is cached in virtual memory  in iOS   When I go back (navigation controller pop), neither the "Image IO" type nor the "Dirty" type decreases in size. It's as if the UIImageView is not being destroyed.   I have a number of calls to [UIImage imageNamed:] and I know the caching keeps the bitmaps   Solution :   Don't load images with [UIImage imageNamed:] for load image in ImageView,it's cause memory issue when no.of images are more, use this, NSString * imgpath= [ [ NSBundle mainBundle] pathForResource:@"imageName" ofType:@"png"]; ImageView.image=[UIImage imageWithContentsOfFile: imgpath];   http://stackoverflow.com/questions/17666679/uiimageview-not-releasing-memory-according-to-vm-tracker-low-memory-warnings

Where are the Titanium Best Practices?

Here they are Titanium Best Practices and Guidelines <![if !supportLists]> ·          <![endif]> Use Alloy to structure your project <![if !supportLists]> ·          <![endif]> Use CommonJS modules <![if !supportLists]> ·          <![endif]> Read about coding strategies for cross-platform application development <![if !supportLists]> ·          <![endif]> Read the Best Practices guides Thanks,

How to use iOS KeyChain?

To use keychain sharing, you need to make change at two places…     Get the bundle seed identifier from developer portal http://stackoverflow.com/questions/24925727/what-is-the-bundle-seed-id-for-an-ios-app   App.entitlements 9BHB6WUHH5 . com.synechron.com – you need to change this to  YOUR_SEED_ID. com.synechron.com ,  you can find the SEED_ID in your apple developer portal.     Some more information is here http://stackoverflow.com/questions/11793271/keychain-group-access-to-share-data-between-my-existing-applications