wimagguc / ios-custom-alertview

Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+
Other
1.66k stars 394 forks source link

Add Rotation Support #13

Closed scorpiozj closed 11 years ago

scorpiozj commented 11 years ago

Currently it can't rotation with the device rotation.

wimagguc commented 11 years ago

Now it does! Thanks for adding this to the code.

dhaval0122 commented 10 years ago

No. Still not fully support rotation in iOs7. Checked attached image.

ios simulator screen shot 07-mar-2014 6 18 58 pm

dhaval0122 commented 10 years ago

I need fully rotation supported code. Please help me. Can you give me code for that.?

scorpiozj commented 10 years ago

I run the project with iPad simulator and the problem not happened. Could you provide more information? for example you can provide each step and your environments so that the same problem can be found.

dhaval0122 commented 10 years ago

Run this project. Rotate simulator fast. Got this issue.

scorpiozj commented 10 years ago

it leaves "TODO" for this kind action. In the line 354 of CustomIOS7AlertView.m, add the following can simply fix it:

[[NSNotificationCenter defaultCenter] postNotificationName:UIDeviceOrientationDidChangeNotification object:nil];

try it, and good luck!