UIView->UICollectionView->UICollectionViewCell
var. Programlı olarak geri gitmeye çalışıyorum ama bu çalışmaların hiçbiri. Kod aradı. StoryBoard kullanıyorum.Gezin Önceki görünüm denetleyicisine geri dön
- (void) goBack:(NSNotification *) notification {
// [self.navigationController popViewControllerAnimated:YES];
// [self dismissViewControllerAnimated:YES completion:nil];
[self.navigationController popToRootViewControllerAnimated:YES];
}
Düğme eylem kodu veya bildirim kodunu göster bana? – Balu
Sınıfınızda sıfır olarak değil, self.navigationControlle alıyor musunuz? Şuna göz at. –
[[NSNotificationCenter defaultCenter] postNotificationName: @ "goBack" nesnesi: nil]; – user1688346