iOS 7.1 UITextView still not scrolling to cursor/caret after new line

Improved solution’s code for UITextView descendant class: #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #define is_iOS7 SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@”7.0″) #define is_iOS8 SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@”8.0″) @implementation MyTextView { BOOL settingText; } – (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleTextViewDidChangeNotification:) name:UITextViewTextDidChangeNotification object:self]; } return self; } – (void)scrollToCaretInTextView:(UITextView *)textView animated:(BOOL)animated { CGRect rect … Read more

How can I run the iOS 7.1 Simulator in Xcode 7.0 beta 2?

Took a lot of browsing but I finally found a solution that worked for me (tried Gend’s answer but didn’t work). Execute the following lines: sudo mv “/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib”{,.bak} sudo ln -sf “/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/host/liblaunch_sim.dylib” “/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib” Source: https://gist.github.com/leecade/83b4e710d7c741152527