2016-03-20 27 views
1

iOS'ta Instagram takibinde (iki düğme, resim ve mesaj) takibi gibi bir uyarı nasıl oluşturulur? Herhangi bir hazır bileşen var mı yoksa bunu sıfırdan mı geliştirmeliyim? Orada bir uygulama (UIAlertController) olmakla birlikte, resmin olmadaniOS'ta düğmelerle alttan kayan uyarı nasıl oluşturulur?

enter image description here

+0

herhangi dahili değil vardır: Bu yazı bir UIAlertController bir resim eklemek hakkında daha fazla bilgi bulabilirsiniz

UIAlertController* deleteAlert = [UIAlertController alertControllerWithTitle:@"Unfollow?" message: preferredStyle:UIAlertControllerStyleActionSheet]; UIAlertAction* unfollowAction = [UIAlertAction actionWithTitle:@"Unfollow" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * action) { //Code to unfollow }]; UIAlertAction* cancelAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"Cancel", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction * action) { }]; [deleteAlert addAction:unfollowAction]; [deleteAlert addAction:cancelAction]; [self presentViewController:deleteAlert animated:YES completion:nil]; 

: Burada

çalışan bir örnektir Bunun için mevcut özellik. – ebby94

cevap